开发者

Custom UIPickerView Background

开发者 https://www.devze.com 2023-01-10 09:30 出处:网络
So I want to change the UIPickerView background to ad开发者_Python百科d a black rectangle next to the white part of the scroller, a la the Convert app.

So I want to change the UIPickerView background to ad开发者_Python百科d a black rectangle next to the white part of the scroller, a la the Convert app.

Custom UIPickerView Background

However I'm not sure how to go about doing that. I know there's no direct way to do it, but I've also looked at trying to write my own UIPickerView from scratch using UIScrollView. This didn't seem very promising.

Do you have any suggestions or tips? Really appreciate it.


Just create a UIImageView that contains the left portion of your graphic above. Add that UIImageView to the same view that contains your UIPickerView-- so it will draw on top of your UIPickerView.

0

精彩评论

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