开发者

Correct way to launch a terminated app via a local notification

Can we start running the app using Local Notification once the app is terminated?

My problem is that when my app is in background and the local notificat开发者_Go百科ions come then the app works fine.

but once app is killed or terminated from background and then if local notifications come, then my app crashes.

What could be done?

Please Help and Suggest

Thanks


in your

didFinishLaunchingWithOptions

method in the app delegate you should handle launching the application if the local notification was received. Are you doing that?


The area to look for is definitely launchOptions for didFinishLaunchingWithOptions.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜