Flutter開發-iOS報錯Trying to embed a platform view but the PrerollContext does not s

GabrielPanda發表於2019-03-19
Trying to embed a platform view but the PrerollContext does not support embedding
複製程式碼

解決方法: Currently apps need to opt-in for the UIViews embedding preview on iOS by adding a boolean property to the Info.plist (key=io.flutter.embedded_views_preview value=YES).

在iOS工程的info.plist檔案中新增鍵值對key=io.flutter.embedded_views_preview value=YES

github引用連線

相關文章