Я хотел бы отобразить отформатированный текст html в UILabel
в IOS.
В Android у него есть api как .setText(Html.fromHtml(somestring));
Установить текст TextView из html-форматированного строкового ресурса в XML
Я хотел бы знать, что/если в ios есть эквивалент?
Я ищу и ищу эту тему:
Как показать текст HTML из API на iPhone?
Но это предполагает использование UIWebView
. Мне нужно отобразить строку в формате html в каждой ячейке таблицы, поэтому я думаю, что 1 webview
для строки кажется немного тяжелой.
Это другая альтернатива?
Спасибо.