我从Web服务获取HTML响应
以下是我得到响应的HTML
<p><strong>Topic</strong>Gud mrng.</p>
\n<p><strong>Hello Everybody</strong>: How are you.</p>
\n<p><strong>I am fine</strong>: 1 what about you.</p>
我需要在UILabel中显示文本。
请帮忙
最佳答案
使用RTLabel库转换HTML文本。我已经使用过几次了。有用。这里是库链接和示例代码。
https://github.com/honcheng/RTLabel。
希望我能帮上忙。