如何从iPhone应用程序发送短信,而无需打开SMS界面? [英] How to send SMS from an iPhone app without opening the SMS interface?

查看:177
本文介绍了如何从iPhone应用程序发送短信,而无需打开SMS界面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在制作一个iPhone应用程序,其中的要求是,用户应该能够从iPhone应用程序发送短信,而无需进入SMS API屏幕(即短信模式视图)。

I am making an iPhone app, where the requirement is such that user should be able to send SMS from iPhone app without going into the SMS API screen (i.e. the modal view for SMS).

我们不希望用户点击发送按钮。

邮件正文和邮件收件者是预先固定的。

The message body and message recipients are pre-fixed.

我是新手。

我该怎么办?应该怎么办?

How can I do this? What should be done?

请帮助和建议。

谢谢。

推荐答案

你唯一的选择(如果你想提交到App Store至少)是使用 MFMessageComposeViewController 。我认为这个想法是,应用程序不能发送短信没有用户的许可。

Your only option (if you want to submit to the App Store at least) is to use MFMessageComposeViewController. I think the idea is so that apps can't send SMS without the users permission.

这篇关于如何从iPhone应用程序发送短信,而无需打开SMS界面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆