views:

48

answers:

1

hi all,

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

Thanks Rachit Taneja

+1  A: 

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.

Sebastian
kCTSMSMessageReceivedNotification .this is the notification i get from a forum.But i dont't know how to use this.so if anybody know about this..do tell me.
Rachit Taneja
this is a jail broken application.so apple has no concerns in this.
Rachit Taneja
@Rachit, in that case disregard everything i said. This only applies to the standard SDK, i have no experience whatsoever with jailbreak.
Sebastian
its ok,thanks....
Rachit Taneja