title: Objective C: How to create a multi-line UITextField?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1345561/how-to-create-a-multiline-uitextfield">How to create a multiline UITextfield?</a>  </p>
  </blockquote>
  
  
  
  <p>How can I implement a multiple line textfield like what I see in the iPhone messaging app?</p>
  
  <p><img src="https://i.stack.imgur.com/mKcxl.jpg" alt="enter image description here"></p>
  
  <p>It seems like the once the length of input exceeds the length, a second line will be auto created. </p>
  
  <p>EDIT: Updated to clarify my challenges in using a UITextView</p>
  
  <p>For me, I would like to model the feel and look of the UITextView to that as shown below. I am not sure how I can do it with UITextView as suggested. For example</p>
  
  <p>1) How to expand the box dynamically if my text needs to overflow to next line</p>
  
  <p>2) How to add the border and styling as shown below</p>
  
  <p>3) How to attach the text box right above the keyboard (instead of in the view)</p>
  
  <p>I know that Instagram have this as well, if someone can point me to the correct direction, that will be great. Thanks in advnce</p>
  
  <p><img src="https://i.stack.imgur.com/1BBBY.jpg" alt="enter image description here"></p>