0

I have a requirement of Hiding a header or div before displaying the html in UiwebView.I tried the injecting js in webViewdidFinishLoad but it has some problem ie first it load and show the html and then removing the header.

4

1 回答 1

0

这在服务器端会更容易,使用 javascript 隐藏标题,然后在页面底部有一个加载脚本以取消隐藏标题。EGood refrences: javascript hide/show element 如何隐藏页面内容,直到所有图像都完全加载?

于 2013-08-21T04:55:47.077 回答