从iPhone中的数据库中获取html标签

时间:2012-06-19 07:17:37

标签: iphone html database ipad uitableview

我是iPhone开发人员的新手,

我已将此行插入我的数据库

<b>As individuals it is inherent to differ.</b> <i>Each individual's insurance needs and requirements are different from that of the others.</i> <br>LIC's Insurance Plans are policies that talk to you individually and give you the most suitable options that can fit your requirement.

之后,我从DB获取此行,并将其传递给UITableView,然后我的表显示 唯一的问题是我不知道如何告诉他它的HTML代码。当它看到<br>时 然后下一行将在新行上,或者当它看到<b>words of line</b>时,文本的字词在获取时应以粗体显示。

是否可能?

任何帮助都会受到影响。

1 个答案:

答案 0 :(得分:0)

你在找three20之类的东西吗?您还可以查看this SO帖子以获取更多信息。