I have push notification in my app and all work if app is close or app in background, but if app is run (active) push notification not show, but call method application:didReceiveRemoteNotification:
I have push notification in my app and all work if app is close
Share
check out this answer https://stackoverflow.com/a/7965961/869455
When app is open, it’s app’s responsibility to handel notification appropriately in application:didReceiveRemoteNotification: and show a message to user inside app.