can my app knows that I received a sms on my iphone using Notification Center

倖福魔咒の 提交于 2019-11-28 14:39:50

It's not possible, as far as I know. iOS treats a new SMS very similarly to a push notification sent to the system, and your code doesn't get notified of push notifications that are not sent to your app.

To reiterate, iOS does not notify your app when an SMS (text message) has been received by your phone.

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