• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
UIWebView HTML to match UITextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UIWebView HTML to match UITextView


  • Subject: UIWebView HTML to match UITextView
  • From: BareFeetWare <email@hidden>
  • Date: Mon, 21 Mar 2011 20:58:40 +1100

Hi all,

I'm trying to show text in a UIWebView to match exactly how it appears in a UITextView. Is there a standard library or subclass to do this?

I've got it mostly working, by programmatically implementing what is basically a copy of the HTML syntax produced by TextEdit. But a few things like periods "." and parentheses "()" seem to use slightly different horizontal spacing (which creates a cumulative misalignment), and line wraps start in a different location.

Thanks,
Tom
BareFeetWare

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Prev by Date: Re: Exception not being caught
  • Next by Date: HTML Writer class
  • Previous by thread: UITabBarController calls viewDidAppear
  • Next by thread: Re: UIWebView HTML to match UITextView
  • Index(es):
    • Date
    • Thread