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

前端 未结 7 1624
抹茶落季
抹茶落季 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:26

    Use multiple pickers, or use a switch block to determine which data should be loaded, and reload the picker.

    0 讨论(0)
提交回复
热议问题