Push notification and launch application for Iphone4
I have an APNS enabled application.
In Iphone4 when user press the HOME button application remains in cache.
Now in this condition when a push notification received after clicking on the VIEW button
the application starts running from the cache!!!.
I have found that it is invoking didReceiveRemoteNotification() and also the state of the application is UIApplicationStateActive rather than UIApplicationStateBackground

But in Iphone 3 it is working fine and invoking didLaunchingWithOptions().

What I want is when the application is not open(currently not running) , if a push notification received it will invoke the handler for push notification and launch the application from start.

any help or guidelines will be highly appriciated .


 

 

Push notification and launch application for Iphone4
===

I have an APNS enabled application.
In Iphone4 when user press the HOME button application remains in cache.
Now in this condition when a push notification received after clicking on the VIEW button
the application starts running from the cache!!!.
I have found that it is invoking didReceiveRemoteNotification() and also the state of the application is UIApplicationStateActive rather than UIApplicationStateBackground

But in Iphone 3 it is working fine and invoking didLaunchingWithOptions().

What I want is when the application is not open(currently not running) , if a push notification received it will invoke the handler for push notification and launch the application from start.

any help or guidelines will be highly appriciated .


 

 
