-3

可能重复:
解析 HTML iPhone

我是 iPhone 开发的新手,我想要标签之后和之前的文本

谁能建议

tenpDesc 的打印说明:

<p><a href="http://news.yahoo.com/blogs/lookout/isaac-hurricane-163319596.html"><img src="http://l1.yimg.com/bt/api/res/1.2/Vjy6kqzuLBWRutEELYQRoQ--/YXBwaWQ9eW5ld3M7Zmk9ZmlsbDtoPTg2O3E9ODU7dz0xMzA-/http://media.zenfs.com/en_us/News/Reuters/2012-08-28T142918Z_1781079790_GM1E88S1QC101_RTRMADP_3_STORM-ISAAC.JPG" width="130" height="86" alt="New Orleans resident Whipple watches waves crash on the shore of Lake Pontchartrain as Tropical Storm Isaac approaches New Orleans" align="left" title="New Orleans resident Whipple watches waves crash on the shore of Lake Pontchartrain as Tropical Storm Isaac approaches New Orleans" border="0" /></a>Tropical Storm Isaac is now Hurricane Isaac. The slow-moving storm, with maximum sustained winds of 75 mph, achieved hurricane status at approximately 12:20 p.m. ET on Tuesday, the National Hurricane Center said: ...RECONNAISSANCE DATA INDICATE ISAAC FINALLY ACHIEVES HURRICANE STATUS...REPORTS FROM AN AIR FORCE RESERVE HURRICANE HUNTER AIRCRAFT INDICATE THAT MAXIMUM WINDS ASSOCIATED WITH ISAAC HAVE [...]</p><br clear="all"/>

谢谢

4

1 回答 1

-2

这需要解析并且在 Objective-C 中不是原生的。您必须编程或找到一个 3rd 方解析器(我个人不知道)。

于 2012-08-28T18:54:04.907 回答