UIPickerView reloadData

前端 未结 3 714
一向
一向 2021-02-13 00:35

I\'m changing components (in particular, the number and color of components), in a UIPickerView that I call pickerOne, so after making the changes, I call:

[pick         


        
3条回答
  •  走了就别回头了
    2021-02-13 01:12

    I think you should be using: reloadComponent or reloadAllComponents.

    But these methods are useless unless you connect UIPickerViewDalegate and UIPickerViewDataSource to file owner.

提交回复
热议问题