Created
October 27, 2016 13:32
-
-
Save dannycabrera/c51ccdefcc398e529e70be4bc1c24176 to your computer and use it in GitHub Desktop.
Load RTF document into UITextView using Xamarin.iOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NSError error = null; | |
| var attributedString = new NSAttributedString (new NSUrl ("...Sample.rtf", false), null, ref error); | |
| var attributedTextHolder = new NSMutableAttributedString (attributedString); | |
| textView.AllowsEditingTextAttributes = true; | |
| textView.AttributedText = attributedTextHolder; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment