[react native] Error loading page

如上图显示的错误,解决方法如下: 在react native ios项目的info.plist文件中,新增一个属性。 在Info.plist中添加NSAppTransportSecurity类型Dictionary。 在NSAppTransportSecurity下添加NSAllowsArbitraryLoads类型Boolean,值设为YES OK!
相关文章
相关标签/搜索