ios - Detect push notifications tap -
i know can use code handling notifications :
- (void)application:(uiapplication *)application didreceiveremotenotification:(nsdictionary *)userinfo{ if ( application.applicationstate == uiapplicationstateinactive || application.applicationstate == uiapplicationstatebackground ) {//opened push notification when app on background } }
but isn't reliable loops number of current notifications shows view controller hundres of time
so question :
is there other "good" way can use handle tapped notification ?
Comments
Post a Comment