reloadAllComponents UIPickerview
I have a utility app which has a segmented control ( 5 segments ) and a UIPickerview with 2 components all in mainView. Can I somehow load different data from my arrays into the pickerView when the value of the segmented control changes?
I would imagine I could use
[myPicker reloadAllComponents], but where and how can I call it in my code?
Would it be in my IBAction for value changed in segment chooser?
Thanks
|