title: How to prevent UITextField from displaying multiple lines?
body: <p>Yes, you read right - my UITextField has multiple lines for some reason and it is driving me crazy. </p>
  
  <p>I have an app where users can edit content directly in a UITableViewCell. When they tap the cell, the text in the cell's label is put into a UITextField that is then added to the UITableViewCell. Once the UITextField hits a certain amount of characters (not sure exactly what the magic number is), it splits onto multiple lines and looks terrible - the first row is clear, but the second row is clipped by the bottom border of the UITextField.</p>
  
  <p>I do not want to use a UITextView as I prefer the single line in my situation. Has anybody seen this behavior before? Is there a way to prevent it?</p>
  
  <p>Oh, I am using iOS 4.1 as my base SDK.</p>