![](/img/trans.png)
[英]Xamarin Forms, I am trying to add a dynamic stack of buttons, but my app crashes when trying to launch on IOS, throwing an exception
[英]when I am trying to launch my app in my device and I am getting the error as launch option nil in my xcode?
請使用以下方法:
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
return true
}
launchoptions具有UIApplicationLaunchOptionsKey,它表示您的應用程序通過諸如openURL,notification等操作啟動時的值。
請查看鏈接http://nshipster.com/launch-options/了解更多信息。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.