iOS 18.4 Warning for Non-Scene-Based Apps
Overview
iOS 18.4 introduces runtime warnings for applications that haven’t yet adopted the scene-based app lifecycle. This warning indicates that in a future iOS update, this will become an assertion, which could affect your app’s functionality.
Major Changes
- Runtime warnings appear for apps not using scene-based lifecycle
- This warning will become an assertion in a future iOS update
- Affects apps still using only the traditional AppDelegate model without SceneDelegate
Developer Action Required
iOS developers should update their applications to implement the scene-based lifecycle model, which was introduced in iOS 13. This model allows apps to have multiple windows or scenes, each with its own lifecycle.
The migration involves:****
- Adopting UISceneDelegate and UIWindowSceneDelegate
- Moving window-related code from AppDelegate to SceneDelegate
- Updating Info.plist to include UIApplicationSceneManifest
Deprecation Details
The traditional app lifecycle using only AppDelegate is being phased out in favor of the more flexible scene-based model. Apple is now actively warning developers about this transition, which will become mandatory in a future iOS update.