I’d like to have an image next to the text on each row of a pickerview, as you can with cells in a Table View. Is this possible?
Specifically I’m trying to put a tick or arrow next to the currently selected row to indicate it as selected rather than have the transparent bar over the top which just looks messy… Don’t have any code to post yet as I’m a bit lost with it, but I assume it would be in viewForRow?
Any pointers would be appreciated.
Yup, you can use the
- (UIView *)viewForRow:(NSInteger)row forComponent:(NSInteger)componentto pass your customUIViewof theUIPickerView. Also take this point in consideration:Hope this helps.