UITextField does not provide any option for creating a multi-line text field. So you have to go with a UITextView.
In the interface builder, place a UITextView and connect to IBOutlet. I assume you know how to do this.
, UITextView IBOutlet . viewDidLoadmethod.
- (void)viewDidLoad
{
[super viewDidLoad];
address.layer.cornerRadius = 5;
[address.layer setBorderColor:[[[UIColor grayColor] colorWithAlphaComponent:0.5] CGColor]];
[address.layer setBorderWidth:2.0];
address.clipsToBounds = YES;
}
QuarzCore
#import <QuartzCore/QuartzCore.h>
TextView TextFiled.
, .