개발도구/iOS - 아이폰 개발
[아이폰] 푸시 받고 다음 페이지 이동
Hay's App
2012. 9. 14. 19:31
n your application:didFinishLaunchingWithOptions:
method you can check whether your app was started due to a remote notification by looking into the launchOptions
dictionary. The keyUIApplicationLaunchOptionsRemoteNotificationKey
will give you the remote notification, if any, and you would then need to present your view controller.
If your app is still running while the remote notification arrives your app delegate'sapplication:didReceiveRemoteNotification:
method is called.
http://blog.jidolstar.com/758