In context of this question/answer I\'ve attempted but the result is no alert presented.
func application(_ application: UIApplication, didFinishLaunchingWith