I have a UIButton and I am trying to develop an editable UITextField onclick of UIButton.
Basically, I want the user to click on the button and edit the text and save it for future use.
So currently I have:
[notes_button addTarget:self action:@selector(editNote) forControlEvents:UIControlEventTouchUpInside];
I am not sure how to get a popup like UITextField onclick and add UITextField in editNote function.
Try this. First make your textfield hide on viewdidload – then on button push, fade it in.. make it editable, and pop up keyboard for user.
——- Update ——–
Now that you have described what you are trying to do a little better. You will want to create an entirely new ViewController with the fields (UITextFields etc) on this new view controller.
On button click you will code: