Created
June 24, 2019 12:57
-
-
Save nirav-tukadiya/cab830e0466f43342c928e230369e402 to your computer and use it in GitHub Desktop.
AppDelegate for AFEiOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// AppDelegate.swift | |
// AFEiOS | |
// | |
// Created by NIRAV on 24/06/19. | |
// Copyright © 2019 NIRAV. All rights reserved. | |
// | |
import UIKit | |
import Flutter | |
import FlutterPluginRegistrant | |
@UIApplicationMain | |
class AppDelegate: FlutterAppDelegate { | |
var flutterEngine : FlutterEngine?; | |
override func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { | |
self.flutterEngine = FlutterEngine(name: "io.flutter", project: nil); | |
self.flutterEngine?.run(withEntrypoint: nil); | |
GeneratedPluginRegistrant.register(with: self.flutterEngine); | |
return super.application(application, didFinishLaunchingWithOptions: launchOptions); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment