Browse Source

feat:调整权限弹窗时机

kailen 3 tháng trước cách đây
mục cha
commit
a91204eeeb
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      TSLiveWallpaper/AppDelegate.swift

+ 4 - 0
TSLiveWallpaper/AppDelegate.swift

@@ -50,6 +50,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
             })
         }
     }
+    
+    func applicationDidBecomeActive(_ application: UIApplication) {
+        AppDelegate.requestAdTrack()
+    }
 }
 
 extension AppDelegate {