|
@@ -351,6 +351,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
|
|
|
|
|
|
/*
|
|
|
@discussion Schedule a refresh task request to ask that the system launch your app briefly so that you can download data and keep your app's contents up-to-date. The system will fulfill this request intelligently based on system conditions and app usage.
|
|
|
+ < MAX 30 seconds >
|
|
|
*/
|
|
|
func scheduleAppRefresh() {
|
|
|
|
|
@@ -366,6 +367,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
|
|
|
|
|
|
/*
|
|
|
@discussion Schedule a processing task request to ask that the system launch your app when conditions are favorable for battery life to handle deferrable, longer-running processing, such as syncing, database maintenance, or similar tasks. The system will attempt to fulfill this request to the best of its ability within the next two days as long as the user has used your app within the past week.
|
|
|
+ < MAX over 1 minute >
|
|
|
*/
|
|
|
func scheduleAppProcessing() {
|
|
|
|