Как подклассы UIVextField UIView, он наследует метод initWithFrame
UIView.
NSInteger myCustomHeight = 237;
UITextField *textField = [[UITextField alloc] initWithFrame:CGRectMake(10, 10, 200, myCustomHeight)];
Если вы хотите сделать это через IB, замените последнюю строку на:
textField.frame = CGRectMake(10, 10, 200, myCustomHeight);
Предполагается, что textField является IBOutlet
.