didFinishLaunchingWithOptions not being called
the method didFinishLaunchingWithOptions is not being called when i launch via push notification on a multitasking OS4.1 3GS device. I just get Appd开发者_如何学编程idEnterForeground called. Is this the way it is on a multitasking device. The docs don't say this. If it is not called how do i access the launchOptions dict.
Thanks
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
is called if your app receives a notification while running, in the background or in the foreground.
If you read the applications applicationState-property you could figure out if your app was active while receiving this notification.
精彩评论