Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • actually I don't know how to delete this answer and how to update my own question. There is no option for doing these. (FYI im using safari browser) Commented Apr 8, 2009 at 11:11
  • sorry! just now I saw the options for those Commented Apr 8, 2009 at 11:12
  • this works fine. but it needs the frame to be set initially. that is before ur piece of code I added textView = [[UITextView alloc] initWithFrame:CGRectMake(5.0, 30.0, 100, 30)];. Commented Apr 8, 2009 at 13:06
  • after adding the above only the textview becomes visible. and the last line in the text view is not displayed fully. only the upper half of it gets displayed. Commented Apr 8, 2009 at 13:08
  • 3
    the correct answer is below, by Gabe. It doesn't rely on a magical +10 and is more accurate. Commented Nov 10, 2010 at 19:50