How to map HTML to in NSAttributedString in iOS

帅比萌擦擦* 提交于 2019-12-13 19:55:35

问题


Since the NSAttributedString initWithHTML addtion is only availiable on Mac OS but not iOS.


回答1:


You should check Oliver Drobnik's NSAttributedString Additions for HTML project on GitHub. It is a response to precisely that problem. See also his blog post about it.



来源:https://stackoverflow.com/questions/4075223/how-to-map-html-to-in-nsattributedstring-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!