How to respond to push notification view if app is already running in the background
Check out application:didReceiveRemoteNotification:fetchCompletionHandler: in iOS 7 and later. The method application:didReceiveRemoteNotification: is called if your app is running in the foreground. It also is called if your app is running in the background and the user engages with your push notification (thus making your app active). So, the real question is how to determine if … Read more