How is the iPhone SMS compose view implemented?

Posted by erotsppa on Stack Overflow See other posts from Stack Overflow or by erotsppa
Published on 2009-06-02T20:21:30Z Indexed on 2010/05/23 21:31 UTC
Read the original article Hit count: 429

Filed under:
|
|

Regarding the SMS compose view as show in the picture below: alt text

I have two questions:

1) How is the text entry box implemented? There are no standard control from the API and the box is smart enough to resize when you press enter OR when the text is too long. Also the bar resizes with it. How is this done with the least coding?

2) How to code it such that when the keyboard shows up the whole view shifts up? Typically when the keyboard shows, it goes over your current view.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk