How to know what's coming from push notification in iOS? -
i can't nslog simulator doesn't support push notification. how can view data coming push notification , what's in launchoption dictionary?
first of want real devices check push notification.
there 1 method check content of push notification in ios
- (void)application:(uiapplication *)application didreceiveremotenotification:(nsdictionary *)userinfo { nslog("%@",userinfo);//in userinfo content of push notification. }
may you.
Comments
Post a Comment