开发者

sms notification

I am a new iphone application developer. i am making an application which开发者_C百科 requires an incoming message notification even if the application is closed. can anybody tell me how to do that...

Thanks Rachit Taneja


Apple has not implemented a way for your application to listen for incoming text messages or phone calls. iOS only sends out notification about changes to your applications state. For example, when your phone rings in which case your application will receive the applicationWillResignActive (on versions older than iOS4 applicationWillTerminate) notification.

Strictly speaking these are not actual notifications, these methods will be called in your applications delegate.

The closes solution would probably be what Brad suggests in this thread.


You can use core telephony framework but you cant upload your app on app store.Because it's private framework which apple doesn't allow.Using this framework you can send sms upto ios 5 for ios 6 i am looking into this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜