[Solved] How to use *.RTF files in WebView?


You want to look at NSAttributedString. This class provides direct import/export interchange with RTF files.

For iOS, the reference you want is here:

https://developer.apple.com/library/ios/documentation/UIKit/Reference/NSAttributedString_UIKit_Additions/index.html

For OS X, the reference you want is here:

https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSAttributedString_AppKitAdditions/

1

solved How to use *.RTF files in WebView?