iphone - Delegate for "View" for Push Notification -


is there delegate gets called when tap on "view" button of push notification alert. when app inactive.

yes there is. application:didfinishlaunchingwithoptions:. apple docs:

if action button tapped, system launches application , application calls delegate’s application:didfinishlaunchingwithoptions: method (if implemented); passes in notification payload (for remote notifications) or local-notification object (for local notifications). if application icon tapped, application calls same method, furnishes no information notification.

here reference: local , push notification programming guide @ handling local , remote notifications section.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -