I currently have a UIPickerView in my app. There is a text box that the user will enter a string in, and I want that string to be saved in the UIPickerView so they can go back and tap on it instead of typing it again.
I have an array now that has some text in it, but I want to know how to add it once the program is running.
Suppose pickerArray is your array name whose data is shown in pickerView.
what you have to do is:-
I hope it will help you.Happy Coding:)