【发布时间】:2018-08-16 01:25:29
【问题描述】:
我的 JSON 数据返回一个字符串,我现在很难处理。它有这样的钥匙
"description": "<img src=\"http://www.testing.com/images/flowerOne.jpg\"><p>Erie, Pa., Aug 15, 2018 / 04:59 pm (<a href=\"http://www.testing.com\" target=\"_self\">CNA</a>).- Teachers in (name of town or district) and in communities across the nation will be in the spotlight on National Teacher Day..."
但我无法在我的应用程序中显示准确的格式。我只需要图片网址
http://www.testing.com/images/flowerOne.jpg
和实际内容
Teachers in (name of town or district) and in communities across the nation will be in the spotlight on National Teacher Day...
在这种情况下,谁能帮帮我?
【问题讨论】:
-
@matt 我很欣赏这个链接,但我问的是不是 Objective-C 的快速问题。