I read how to handle remote notification in the Apple Developer Guide. My questions are two: what is the interpretation of the phrase
A notification is delivered when the application is not running in the foreground
does not work in the background, not in the background. Based on the interpretation, the following sentence:
the application icon is displayed on the iOS device, the application calls the same method, but does not provide any notification information.
has a different meaning.
The second question concerns the situation when I receive two consecutive remote notifications: When I open the application in the method
Applications: didFinishLaunchingWithOptions: or Application: didReceiveRemoteNotification:
Do I have information about all notifications or only the latest?