WKWebview有时会显示img只有一半

时间:2016-09-28 10:26:42

标签: html iphone

this a normal

this img display just a half WKWebview进入tableViewCell。当WKWebview完成装载,然后更新tableviewcell height.sometimes img显示一半,我确定单元格高度是正确的。



<!DOCTYPE HTML>
<meta name='viewport' content='width=device-width, initial-scale=1' charset=''/>
<body>

<p>
    <img src="http://resources.ovuwork.com/userfiles/static/upload/image/20160926/1474890263272044686.png"
         title="1474890263272044686.png"
         style="width:100%"
         alt="space_index_img_space.png"/>
</p>
</body>
&#13;
&#13;
&#13;

&#13;
&#13;
<!DOCTYPE HTML>
<meta name='viewport' content='width=device-width, initial-scale=1' charset=''/>
<body>

<p>
    <img src="http://resources.ovuwork.com/userfiles/static/upload/image/20160926/1474890263272044686.png"
         title="1474890263272044686.png"
         style="width:100%"
         alt="space_index_img_space.png"/>
</p>
</body>
&#13;
&#13;
&#13;

&#13;
&#13;
HTML content:
<!DOCTYPE HTML>
<meta name='viewport' content='width=device-width, initial-scale=1' charset=''/>
<body>

<p>
    <img src="http://resources.ovuwork.com/userfiles/static/upload/image/20160926/1474890263272044686.png"
         title="1474890263272044686.png"
         style="width:100%"
         alt="space_index_img_space.png"/>
</p>
</body>
&#13;
&#13;
&#13;

0 个答案:

没有答案