【发布时间】:2018-03-31 04:47:18
【问题描述】:
IOS10以上系统,混合内容(html by https,img by http),调用geolocation.getCurrentPosition时,background-image插入图片不显示
<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>
【问题讨论】:
标签: ios geolocation mixed-content