ios - 关于UIWebView加载HTML页面的问题
PHPz
PHPz 2017-04-17 18:00:01
0
3
296

关于UIWebView加载HTML页面的问题,

如图所示,有没有办法不加载上边红框里的内容,只显示content的内容,因为上边的内容是不需要的?是要对网页进行解析吗?还是怎么做,我直接用webView加载网页地址,就变成如图所示的样子了,可是一些不需要的东西不想让他出现?求救如何才能不显示??!谢谢!!

PHPz
PHPz

学习是最好的投资!

reply all (3)
洪涛

HTML Make an HTML again

    左手右手慢动作

    This depends on the responsive layout of the webpage. If you want to use webview to do it, it is unrealistic. You can directly modify the webpage and add a responsive layout to it. You can use bootstrap

      黄舟

      First, execute a piece of js after the page is loaded
      Second, find someone who knows js to help you write a DOM and filter out the tags on it
      Third, done

        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!