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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - WPF+EF - The operation cannot be completed because the DbContext has been disposed -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -