ios - RN中WebView无法加载网页

查看:69
本文介绍了ios - RN中WebView无法加载网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

在React Native中使用WebView加载网页,log了url,没有发现问题。`<WebView

                automaticallyAdjustContentInsets={true}
                source={{uri:this.state.detailUrl}}
                javaScriptEnabled={true}
                domStorageEnabled={true}
                decelerationRate='normal'
                startInLoadingState={true}
            />`
            
            


解决方案

url里是不是有#?

这篇关于ios - RN中WebView无法加载网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆