Answer the question
In order to leave comments, you need to log in
How can you know that a push notification has been received in iOS (Objective-C)?
How can you know that a push notification has been received in iOS (Objective-C)?
For example, in android there is a method: onMessageReceived from com.google.android.gms.gcm.GcmListenerService.
And in Objective-C - how is it done?
Answer the question
In order to leave comments, you need to log in
Handling Remote Notifications
https://developer.apple.com/library/content/docume...
If the application is completely unloaded, then nothing. In this case, if a notification arrives with the Alert field filled in, the system will process such notification itself and display it.
If the application is in the device's memory, then this method will work .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question