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

在iOS工程的info.plist文件中添加键值对key=io.flutter.embedded_views_preview value=YES

github引用连接

分类:
iOS
标签: