본문 바로가기

개발도구/iOS - 아이폰 개발

[아이폰] 푸시 받고 다음 페이지 이동

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