@@ -6,9 +6,14 @@ description: >
66
77{% render "docs/breaking-changes.md" %}
88
9+ ::: important
10+ As of the Flutter 3.41 release, ` UIScene ` support is the
11+ default and auto migration to ` UIScene ` happens automatically.
12+ :::
13+
914## Summary
1015
11- Apple now requires iOS developers to adopt the UIScene life cycle.
16+ Apple now requires iOS developers to adopt the ` UIScene ` life cycle.
1217This migration has implications on the [ app launch
1318sequence] ( {{site.apple-dev}}/documentation/uikit/about-the-app-launch-sequence )
1419and [ app life
@@ -23,6 +28,7 @@ the following:
2328> be required to use the UIScene life cycle, otherwise it will not launch.
2429
2530To use the UIScene lifecycle with Flutter, migrate the following support:
31+
2632* All Flutter apps that support iOS - See the [ migration guide for Flutter
2733 apps] ( /release/breaking-changes/uiscenedelegate/#migration-guide-for-flutter-apps )
2834* Flutter embedded in iOS native apps - See the [ migration guide for adding
@@ -33,30 +39,28 @@ To use the UIScene lifecycle with Flutter, migrate the following support:
3339 plugins] ( /release/breaking-changes/uiscenedelegate/#migration-guide-for-flutter-plugins )
3440
3541Migrating to UIScene shifts the AppDelegate's role—the UI lifecycle is
36- now handled by the UISceneDelegate. The AppDelegate
42+ now handled by the ` UISceneDelegate ` . The ` AppDelegate `
3743remains responsible for process events and the overall application
38- lifecycle. All UI-related logic should be moved from the AppDelegate to the
39- corresponding UISceneDelegate methods. After migrating to UIScene,
40- UIKit won't call AppDelegate methods related to UI state.
44+ lifecycle. All UI-related logic should be moved from the ` AppDelegate ` to the
45+ corresponding ` UISceneDelegate ` methods. After migrating to ` UIScene ` ,
46+ UIKit won't call ` AppDelegate ` methods related to UI state.
4147
4248## Migration guide for Flutter apps
4349
44- ### Auto-Migrate (Experimental)
50+ ### Auto-migrate
4551
46- The Flutter CLI can automatically migrate your app if your AppDelegate has not
47- been customized.
52+ As of Flutter 3.41, ` UIScene ` is supported by default.
53+ The Flutter CLI automatically migrates your app if your ` AppDelegate `
54+ hasn't been customized.
4855
49- 1 . Enable UIScene Migration Feature
56+ 1 . Build or run your app
5057
5158``` console
52- flutter config --enable-uiscene-migration
59+ flutter run
5360```
54-
55- 2 . Build or run your app
61+ or
5662
5763``` console
58- flutter run
59- or
6064flutter build ios
6165```
6266
0 commit comments