On Nov 29, 2011, at 1:27 AM, Sandeep Mohan Bhandarkar wrote: > Here htmlData is an NSData object that has been initialized with the contents > of an HTML File. However on doing this the HTML Displayed in the Text view > does not seem to be formatted correctly. Please see the figure below.
An NSTextView isn’t a WebView; it’s an entirely different layout engine. It can’t display everything that can be represented in HTML, just the basics. If you need to display HTML content accurately you’ll need to use a WebView. —Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
