UIApplicationDelegate method - application(_:didFinishLaunchingWithOptions:) showing an error with Swift 4.2 (Xcode 10).
UIApplicationLaunchOptionsKey not found
What is replacement of UIApplicationLaunchOptionsKey
in Swift 4.2?
'UIApplicationLaunchOptionsKey' has been renamed to 'UIApplication.LaunchOptionsKey'. Replace 'UIApplicationLaunchOptionsKey' with 'UIApplication.LaunchOptionsKey'.
Click on error hint, will show you solution: