[Solved] How to add multiple UITextfield in iOS 5?
Put it in a loop, offset each text field’s Y position and tag each text field: for (int i = ; i < numberOfTextFieldsNeeded; i++) { UITextField *tf = [[UITextField alloc] initWithFrame:CGRectMake(5, 5 + 35 * i ,100,25)]; // 10 px padding between each view tf.tag = i + 1; // tag it for future … Read more