|
@@ -37,18 +37,18 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
|
|
}
|
|
|
|
|
|
func JudgmentSkipPage() {
|
|
|
- if AppDelegate.isFirstInstallApp() {
|
|
|
- let bootPageVC = TSBootPageVC { [weak self] in
|
|
|
- guard let self = self else { return }
|
|
|
- UserDefaults.standard.set("1", forKey: "isFirstInstallApp")
|
|
|
- UserDefaults.standard.synchronize()
|
|
|
- goToTab()
|
|
|
- }
|
|
|
- let navi = TSBaseNavigationC(rootViewController: bootPageVC)
|
|
|
- window?.rootViewController = navi
|
|
|
- } else {
|
|
|
+// if AppDelegate.isFirstInstallApp() {
|
|
|
+// let bootPageVC = TSBootPageVC { [weak self] in
|
|
|
+// guard let self = self else { return }
|
|
|
+// UserDefaults.standard.set("1", forKey: "isFirstInstallApp")
|
|
|
+// UserDefaults.standard.synchronize()
|
|
|
+// goToTab()
|
|
|
+// }
|
|
|
+// let navi = TSBaseNavigationC(rootViewController: bootPageVC)
|
|
|
+// window?.rootViewController = navi
|
|
|
+// } else {
|
|
|
goToTab()
|
|
|
- }
|
|
|
+// }
|
|
|
}
|
|
|
|
|
|
func initPlatform() {
|