Flutter webview_flutter iOS显示网页白屏 Trying to embed a platform view but the PrerollContext ……

在Flutter中使用webview_flutter插件显示网页的时候在iOS无法显示,并且报错:

Trying to embed a platform view but the PrerollContext does not support embedding

解决办法:在info.list添加:

 <dict>
 ……
   <key>io.flutter.embedded_views_preview</key>
    <true/>
    ……
    </dict>
©️2020 CSDN 皮肤主题: Age of Ai 设计师:meimeiellie 返回首页