I was reading how handling remote notification on developer apple guide. My questions are two: what is the interpretation of the phrase
The notification is delivered when the application isn’t running in the foreground
isn’t running in the foreground covers background and not running or in the background state just. Based on the interpretation, the following sentence:
the application icon is tapped on a device running iOS, the application calls the same method, but furnishes no information about the notification.
has a different sense.
The second question concerns the situation where I get two consecutive remote notifications: When I open the app in the method
application:didFinishLaunchingWithOptions: or application:didReceiveRemoteNotification:
I have information on all notifications or just the last?
application:didReceiveRemoteNotification:.application:didFinishLaunchingWithOptions: and the options will be a non-nil object containing information about your remote notification.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With