How to change color of selected row in UIPickerView

前端 未结 10 907
孤独总比滥情好
孤独总比滥情好 2020-12-03 10:25

Ok, maybe I\'m missing something really simple and I apologize if that\'s the case, however, I\'ve googled every permutation of the title and have not found! So this is sim

10条回答
  •  旧巷少年郎
    2020-12-03 11:24

    Call the UIPickerView instance's -viewForRow:forComponent: method to get the UIView * object. Then set that view's background UIColor.

提交回复
热议问题