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

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).git

在iOS工程的info.plist文件中添加鍵值對key=io.flutter.embedded_views_preview value=YESgithub

github引用鏈接bash

相關文章
相關標籤/搜索