0
IOS10以上系统混合内容(html by https,img by http),当调用geolocation.getCurrentPosition,background-image插入的图片不显示时IOS10以上系统,混合内容,背景图像插入图片不显示
<pre>
<div id="aaa" style="background-image:url(http://xxx.jpg);height:200px;"></div>
<script>
navigator.geolocation.getCurrentPosition(function (res) {
console.log(res);
});
</script>
</pre>