【Flutter】webview_flutter显示白屏

flutter: allowing navigation to NavigationRequest(url: http://m.weibo.cn/2803301701/4483025884548508, isForMainFrame: true)
flutter: Page started loading: http://m.weibo.cn/2803301701/4483025884548508
flutter: allowing navigation to NavigationRequest(url: https://m.weibo.cn/2803301701/4483025884548508, isForMainFrame: true)
flutter: allowing navigation to NavigationRequest(url: https://m.weibo.cn/status/4483025884548508?, isForMainFrame: true)
flutter: allowing navigation to NavigationRequest(url: about:blank, isForMainFrame: false)
flutter: Page finished loading: https://m.weibo.cn/status/4483025884548508?

日志打印显示已经加载网页,而且成功,但是页面显示白屏。

解决方案:

在iOS项目里面的info.list添加如下标签

io.flutter.embedded_views_preview
    

你可能感兴趣的:(Flutter,flutter)