开发者

How to create an Custom picker?? Or

开发者 https://www.devze.com 2023-03-11 18:18 出处:网络
I need to create an app that contains something like this image: When the user changes the label it should change an image above..

I need to create an app that contains something like this image:

How to create an Custom picker?? Or

When the user changes the label it should change an image above.. There is more option after the number "24", like a picker.

I have the idea to implement an picker in horizontal mode, but I don t now how to change the design of it to be like the image (without the effect well).

Any one开发者_如何学C have an idea how to do that, or something that works like this???

Thanks


use UIScrollView


You can't alter a UIPickerView object much so you should consider a rotated UITableView object. More than subclass, you will need to build a composite view that basically mirrors some of the methods of the UITableView object. And you will have to add appropriate methods that handle the selected value.

0

精彩评论

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