The simple answer is, you don’t. UITextFields are just single line text entry fields. For multi-line text entry, use a UITextView. Something like:

UITextView *textView = [[UITextView alloc] initWithFrame:CGRectZero];
    [textView setEditable:YES];