- 添加 .gitignore 文件,配置项目忽略项 - 创建 .metadata 文件,记录项目元数据 - 编写 README.md,介绍项目基本信息 - 配置 analysis_options.yaml,设置代码分析规则 - 新增 Android 相关文件和目录,包括 Gradle 配置、资源文件等 - 新增 iOS 相关文件和目录,包括 AppFrameworkInfo.plist、Debug.xcconfig 等
14 lines
391 B
Swift
14 lines
391 B
Swift
import Flutter
|
|
import UIKit
|
|
|
|
@main
|
|
@objc class AppDelegate: FlutterAppDelegate {
|
|
override func application(
|
|
_ application: UIApplication,
|
|
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
|
|
) -> Bool {
|
|
GeneratedPluginRegistrant.register(with: self)
|
|
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
|
}
|
|
}
|