如何在不打开短信界面的情况下从 iPhone 应用发送短信? [英] How to send SMS from an iPhone app without opening the SMS interface?

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

问题描述

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

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 应用发送短信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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