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
Post a Comment