Skip to content

Instantly share code, notes, and snippets.

@mikebluestein
Created December 20, 2013 20:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikebluestein/8061285 to your computer and use it in GitHub Desktop.
Save mikebluestein/8061285 to your computer and use it in GitHub Desktop.
NSAttributedString with HTML
NSError error = null;
var htmlString = new NSAttributedString (NSUrl.FromFilename (
"Test.html"),
new NSAttributedStringDocumentAttributes{ DocumentType = NSDocumentType.HTML },
ref error);
textView.AttributedText = htmlString;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment