How to send SMS from an iPhone app without opening the SMS interface?(如何在不打开短信界面的情况下从 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 应用发送短信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在不打开短信界面的情况下从 iPhone 应用发送短信?


基础教程推荐
- 在 iOS 上默认是 char 签名还是 unsigned? 2022-01-01
- Android ViewPager:在 ViewPager 中更新屏幕外但缓存的片段 2022-01-01
- 如何使 UINavigationBar 背景透明? 2022-01-01
- :hover 状态不会在 iOS 上结束 2022-01-01
- “让"到底是怎么回事?关键字在 Swift 中的作用? 2022-01-01
- 如何使用 YouTube API V3? 2022-01-01
- LocationClient 与 LocationManager 2022-01-01
- 使用 Ryzen 处理器同时运行 WSL2 和 Android Studio 2022-01-01
- 固定小数的Android Money Input 2022-01-01
- Android文本颜色不会改变颜色 2022-01-01