开发者

how can I add this formatted text for a help page in my ios app

I have this help page I want to add to my application, but I'm not sure of how to format it. At the moment it's just an imag开发者_开发百科e in a scrollview, but surely there's a better way?

how can I add this formatted text for a help page in my ios app


Many apps use a WebView to display formatted text. You can then use CSS to style your content as needed.


You could use NSAttribuatedString + RTLabel to display it (or of cause the default cheat of a UIWebView).

To display RichText (NSAttribuatedString use one of these).

  • http://www.cocoacontrols.com/platforms/ios/controls/rtlabel
  • https://github.com/Cocoanetics/NSAttributedString-Additions-for-HTML
  • http://www.cocoanetics.com/2011/01/uiwebview-must-die/
  • https://github.com/AliSoftware/OHAttributedLabel
  • https://github.com/mattt/TTTAttributedLabel


Use webview to and with webservices so u can change it later so on

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜