开发者

can the SelectionIndicator for a UIPickerView be customized?

I need to have a UIPickerView as UIDatePickerModeCountDownTimer but with more than 2 columns, like hours, minutes, seconds. So doing a UIPickerView like this is a no brainer, but 开发者_运维百科I'd like to show the words 'hours', 'minutes', 'seconds' and so on, but on the selectionIndicator. Is there a way to customize this?

-Carlos


What I ended up doing was to add a UILabel with a clearColor as background and put it over the picker, at the exact position where the selectionIndicator shows.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜