1

例:

 <html>
        <body>

         <div id="content" style="background-color:#EEEEEE;height:200px;width:400px;float:left;">
        Content goes here</div>

        </body>
        </html> 

私はnsstringにhtmlテキスト(上記)を持っています、

dividを使用してhtmltag/divをフェッチする必要があります; 例:

<div id="content" style="background-color:#EEEEEE;height:200px;width:400px;float:left;">
    Content goes here
    </div> 

nsstring * strDiveFormat="コードが必要です";

nsslog(@ "Div形式:%@"、strDiveFormat);

これは印刷する必要があります:

<div id="content" style="background-color:#EEEEEE;height:200px;width:400px;float:left;">
    Content goes here
</div>
4

0 に答える 0