Hi there,
I could't figure out how to implement a Sub that can identify when a push message arrives.
Looking Apple documentation, I discovered that we can catch that event in application:didReceiveRemoteNotification:fetchCompletionHandler.
How can I implement this event in B4i?
I could't figure out how to implement a Sub that can identify when a push message arrives.
Looking Apple documentation, I discovered that we can catch that event in application:didReceiveRemoteNotification:fetchCompletionHandler.
- When a remote notification arrives, the system calls the application:didReceiveRemoteNotification:fetchCompletionHandler: method. Notifications usually signal the availability of new information. In your app delegate method, you might begin downloading new data from a server so that you can update your app’s data structures. You might also use the notification to update your user interface. (https://developer.apple.com/library...nce/UIApplicationDelegate_Protocol/index.html)
How can I implement this event in B4i?
Last edited: