Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/97.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html Iframe或嵌入标记在IOS中不起作用_Html_Ios_Iframe - Fatal编程技术网

Html Iframe或嵌入标记在IOS中不起作用

Html Iframe或嵌入标记在IOS中不起作用,html,ios,iframe,Html,Ios,Iframe,我有这个问题, 我在html中创建了一个iframe,如下所示: <iframe id="map-iframe" class="col-lg-9 col-md-9 col-sm-9 col-xs-9" style="height:500px; width:100%;" src="map.html" frameborder="0" style="border:0" allowfullscreen></iframe> 我也尝试过嵌入标签,就像这样 <embed

我有这个问题,

我在html中创建了一个iframe,如下所示:

<iframe  id="map-iframe" class="col-lg-9 col-md-9 col-sm-9 col-xs-9" style="height:500px; width:100%;" src="map.html" frameborder="0" style="border:0" allowfullscreen></iframe> 

我也尝试过嵌入标签,就像这样

<embed allow-navigation  id="map-iframe" frameborder="0" style="border:0" style="height:500px !important; width:100%;"  class="col-lg-9 col-md-9 col-sm-9 col-xs-9" src="map.html"></embed>

它在任何浏览器(e、chrome、safari)和任何so(lx、ws、mac)中都能完美工作,但在ios(像chrome或safari这样的移动浏览器)中不起作用

我做错了什么


提前感谢

当你说它不起作用时,那是什么意思?内容没有加载?看起来很奇怪?等等。内容不加载,当你说它不起作用时,那是什么意思?内容没有加载?看起来很奇怪?等等。内容不加载,