开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜