Wondering about iOS background tasks

hlowe hlowe at me.com
Tue Oct 4 02:03:14 EDT 2016


Bill,

iOS supports local notifications (as supposed to remote notifications) that
work even if the app that created them is no longer running. See:

https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/WhatAreRemoteNotif.html

Basically the app creates a local (device) time-based notification and
registers it with iOS using the LC command 'CreateNewMobileNotification'. 
When the local notification date and time arrives iOS will send the
notification back to the app that created it. If the app is not running iOS
will issue a notification alert to the user, providing the option to
automatically launch the app. In LC the app receives a
'localNotificationReceived' message that includes information about the
notification. The app handles this message (and its associated data) to
process the notification alert.

Henry





--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Wondering-about-iOS-background-tasks-tp4709152p4709157.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list