ios - After Receiving Notification how can i get message on app icon click? -
my push notification works in app push notification comes 2 different messages: 1 "task completed" , second "you have message".
now when application in background state , notification arrives, how can notification's message when click on app icon?
if knows please me. thank in advance.
for ios 7 , above can use:
- (void)application:(uiapplication *)application didreceiveremotenotification:(nsdictionary *)userinfo fetchcompletionhandler:(void (^)(uibackgroundfetchresult))completionhandler
this allow quick amount of processing when application in background state.
Comments
Post a Comment