Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当用户打开应用程序时可能会收到通知或其他东西,但应用程序在后台(所以它没有关闭)?
您的 App Delegate 将在返回之前调用其函数applicationWillEnterForeground。
此外,如果在触发这些事件时操作系统被冻干,操作系统将排队一系列潜在的重大操作系统更改通知,即:UIApplicationSignificantTimeChangeNotification和UIDeviceBatteryLevelDidChangeNotification