suhv of iOS Dev
4/19/2018 - 1:40 AM

Instead of UIMainApplication

No need UIMainApplication anymore...

import UIKit

let argc = CommandLine.argc
let argv = UnsafeMutableRawPointer(CommandLine.unsafeArgv).bindMemory(to: UnsafeMutablePointer<Int8>.self, capacity: Int(argc))
let appDelegateClass: String = AppDelegate.description()
UIApplicationMain(argc, argv, nil, appDelegateClass)