UITextField *tf3 = [[UITextField alloc] initWithFrame:CGRectMake(10, tf2.frame.origin.y+55,100, 30)];
tf3.textColor = [UIColor colorWithRed:0/256.0 green:84/256.0 blue:129/256.0 alpha:1.0];
//tf.font = [UIFont fontWithName:@"Helvetica-Bold" size:25];
tf3.backgroundColor=[UIColor whiteColor];
tf3.borderStyle=UITextBorderStyleLine;
[email protected]"Save";
tf3.textAlignment=UITextAlignmentCenter;
view1 = [[UIView alloc] initWithFrame:CGRectMake(0,270, 100, 40)];
[view1 addSubview:tf3];
Как добавить кнопку сохранения к этому textField
без использования раскадровки.Как добавить кнопку в текстовое поле в поле зрения