Files
FlexiUI/samples/iosApp/iosApp/AppDelegate.swift

16 lines
477 B
Swift

import UIKit
import shared
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = UIViewControllerKt.createUIViewController()
window?.makeKeyAndVisible()
return true
}
}