UIPickerview customisation

后端 未结 2 578
有刺的猬
有刺的猬 2020-12-18 09:40

I would like to do some customization of the UIPickerView.

End Goal: have a picker view rotating a few icon sized images.

firstly i would like to change the

2条回答
  •  臣服心动
    2020-12-18 10:10

    UIPickerView is not customizable. At all.

    You'll have to go custom for what you want.

    Perhaps the easiest way would be to mess with an UIScrollView with vertical pagination enabled, and try to get it to act like you want. Maybe overlap an UIImageView with it and wrap the whole thing up in a custom view.

提交回复
热议问题