Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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