File tree Expand file tree Collapse file tree 1 file changed +58
-3
lines changed Expand file tree Collapse file tree 1 file changed +58
-3
lines changed Original file line number Diff line number Diff line change 1
1
//
2
2
// AppDelegate.swift
3
- // KatesLocalPushNotofyApp
3
+ // KatesBackgroundRunner
4
4
//
5
- // Created by KatesAndroid on 2021/1/29.
5
+ // Created by KatesAndroid on 2021/1/29 PM 7:40
6
6
//
7
7
8
8
import UIKit
@@ -30,7 +30,62 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
30
30
// If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
31
31
// Use this method to release any resources that were specific to the discarded scenes, as they will not return.
32
32
}
33
-
33
+
34
+ func applicationDidFinishLaunching( _ application: UIApplication ) {
35
+ < #code#>
36
+ }
37
+
38
+ //進入前景
39
+ func applicationWillEnterForeground( _ application: UIApplication ) {
40
+ < #code#>
41
+ }
42
+
43
+ // 即將啟動
44
+ func applicationDidBecomeActive( _ application: UIApplication ) {
45
+ < #code#>
46
+ }
47
+
48
+ // 停止啟動
49
+ func applicationWillResignActive( _ application: UIApplication ) {
50
+ < #code#>
51
+ }
52
+
53
+ // 進入背景
54
+ func applicationDidEnterBackground( _ application: UIApplication ) {
55
+ < #code#>
56
+ }
57
+
58
+ // 閒置過久,檢查記憶體與存儲空間,如不足,被迫移除。
59
+ func applicationWillTerminate( _ application: UIApplication ) {
60
+ < #code#>
61
+ }
62
+
63
+ // 記憶體不足提醒
64
+ func applicationDidReceiveMemoryWarning( _ application: UIApplication ) {
65
+ < #code#>
66
+ }
67
+
68
+ // 時間相關
69
+ func applicationSignificantTimeChange( _ application: UIApplication ) {
70
+ < #code#>
71
+ }
72
+
73
+
74
+ // 資料相關
75
+ func applicationProtectedDataDidBecomeAvailable( _ application: UIApplication ) {
76
+ < #code#>
77
+ }
78
+
79
+ func applicationProtectedDataWillBecomeUnavailable( _ application: UIApplication ) {
80
+ < #code#>
81
+ }
82
+
83
+ // Auth
84
+ func applicationShouldRequestHealthAuthorization( _ application: UIApplication ) {
85
+ < #code#>
86
+ }
87
+
88
+
34
89
35
90
}
36
91
You can’t perform that action at this time.
0 commit comments