Reputation: 1375
the method didFinishLaunchingWithOptions is not being called when i launch via push notification on a multitasking OS4.1 3GS device. I just get AppdidEnterForeground 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
Upvotes: 1
Views: 1904
Reputation: 90127
- (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.
Upvotes: 1