MobileNotifications.RegisterForRemoteNotifications
From Xojo Documentation
Method
MobileNotifications.RegisterForRemoteNotifications()
New in 2020r2
Supported for all project types and targets.
New in 2020r2
Supported for all project types and targets.
Asks the device to register the app for receiving Remote Notifications and requests a token from Apple.
Notes
If the registration succeeds, the RemoteRegistrationSucceeded event will be called.
See Also
RemoteRegistrationSucceeded event.