在iOS10,做原生页面跳转h5(ionic)写的页面的时候,加载失败(白屏),按home键再回来后,则能完成渲染。其他系统则不会这样。
会不会是因为cordova版本不是最新
大家讲道理2017-04-17 13:58:22
You need to add gap://ready and file: permissions to your header whitelist. The entire whitelist can be written as follows
<meta http-equiv="Content-Security-Policy" content=" default-src gap://ready file:; style-src 'self' 'unsafe-inline'; img-src 'self' data:; script-src 'unsafe-inline' 'unsafe-eval '">
Reference: http://stackoverflow.com/ques...