How do I send an SMS on iOS without having to get the user to ok it?

前端 未结 3 1609
鱼传尺愫
鱼传尺愫 2021-01-26 06:11

How can I send a text message (natively or through the use of an API) from an iOS application to someone without having them have to interact with the message before hand?

3条回答
  •  独厮守ぢ
    2021-01-26 06:52

    Sorry, but you can't, it is completely impossible. The only way to send sms is through messageUI, which always requires the users consent. You can probably do it on a jailbroken phone, though.

提交回复
热议问题