ios: How to send SMS in background

耗尽温柔 提交于 2019-12-13 07:35:45

问题


I know How to use MFMessageComposeViewController to compose message and forward the SMS and I want to send SMS in background without displaying message composer view. so If I click on button SMS will send in background without prompting to user.

There are 3rd party API's like Twilio, nexmo and tropo but i am not getting how to implement with those API's.

There is any other way to send SMS in background?


回答1:


Using the standard API's you can only send an SMS with user interaction.




回答2:


You can't send SMS or e-mail without user interaction unless there is any server interaction. If you really want to send SMS in background, send the content and reciepients to your server in background and from the server side you can send SMS to your receipients.



来源:https://stackoverflow.com/questions/24256578/ios-how-to-send-sms-in-background

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!