Ios swift-AppDelegate.ApplicationIDBecomeActive未激发
AppDelegate.ApplicationIDBecMeactive在重新打开应用程序后确实会触发Ios swift-AppDelegate.ApplicationIDBecomeActive未激发,ios,swift,swift3,Ios,Swift,Swift3,AppDelegate.ApplicationIDBecMeactive在重新打开应用程序后确实会触发 func applicationDidBecomeActive(_ application: UIApplication) { // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously i
func applicationDidBecomeActive(_ application: UIApplication) {
// 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.
print("app did become active")
重新启动xcode和tryDid是否删除项目设置中的任何代码或更改?您是否尝试创建新的scratch项目?当应用程序首次启动且应用程序从后台到前台时,会调用该项目