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
'개발도구 > iOS - 아이폰 개발' 카테고리의 다른 글
[아이폰] 탭바, tapcontroller custom (0) | 2012.09.18 |
---|---|
[아이폰] UIMenuControll 메뉴(copy, paste..) (0) | 2012.09.18 |
[아이폰] 푸시 받고 다음 액션, push view move (0) | 2012.09.14 |
[mac] 맥 필수 프로그램 (0) | 2012.09.13 |
[iphone-비밀] 푸시를 이용한 채팅, 메신저 만들기 (0) | 2012.09.04 |