1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00
Files
samples/ios_app_clip/ios/Runner/AppDelegate.swift
Jenn Magder 3aaa86795e Update App Clip for Xcode 15 and iOS 16+ (#2162)
1. Run `flutter run` on the project to pick up project automigrations.
2. Set min version to iOS 16 to take advantage of the 15MB size limit
(see
https://github.com/flutter/flutter/issues/71098#issuecomment-1358152892)
3. Other updates needed to avoid Xcode errors and warnings.

First introduced in #538
See also https://github.com/flutter/website/pull/10145
2024-02-15 16:14:38 -08:00

14 lines
391 B
Swift

import UIKit
import Flutter
@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)
}
}