You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/BinaryWatch Extension/ExtensionDelegate.swift
-35Lines changed: 0 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -18,39 +18,4 @@ class ExtensionDelegate: NSObject, WKExtensionDelegate {
18
18
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
19
19
}
20
20
21
-
func applicationWillResignActive(){
22
-
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
23
-
// Use this method to pause ongoing tasks, disable timers, etc.
// Sent when the system needs to launch the application in the background to process tasks. Tasks arrive in a set, so loop through and process each one.
28
-
fortaskin backgroundTasks {
29
-
// Use a switch statement to check the task type
30
-
switch task {
31
-
caseletbackgroundTask as WKApplicationRefreshBackgroundTask:
32
-
// Be sure to complete the background task once you’re done.
0 commit comments