Explorar o código

Merge branch 'master' of http://hubgit.cn/zhouzhenshuai/TSLiveWallpaper

100Years hai 3 meses
pai
achega
5182f24331
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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 {