How do I reload/refresh the UIPickerView (with new data array) based on button press?

前端 未结 7 1659
抹茶落季
抹茶落季 2020-12-24 04:30

IF I wanted a picker, for states/provinces, i haven\'t seen an example, but I mocked up shown above, a picker for US/Can/Mex. wondering can you dynamically switch t

7条回答
  •  自闭症患者
    2020-12-24 05:23

    By calling

    thePicker.delegate = self;
    

    again, I was able to force refresh the pickerview with new info

提交回复
热议问题