Skip to content

Commit 09b028a

Browse files
committed
ios: Take automatic migration away from @UIApplicationMain
When building for iOS (`flutter run`), I got this output: ios/Runner/AppDelegate.swift uses the deprecated @UIApplicationMain attribute, updating. And sure enough, this change was made, automatically. Sure; might as well commit it. The following seems to be the explanation for it: https://github.com/apple/swift-evolution/blob/43b894b0c/proposals/0383-deprecate-uiapplicationmain-and-nsapplicationmain.md
1 parent a9b4f66 commit 09b028a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/Runner/AppDelegate.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import UIKit
22
import Flutter
33

4-
@UIApplicationMain
4+
@main
55
@objc class AppDelegate: FlutterAppDelegate {
66
override func application(
77
_ application: UIApplication,

0 commit comments

Comments
 (0)