Nanoc
Nanoc

Reputation: 2381

Custom UIPicker control IOS

im looking for a similar control to this Android Wheel, its very similar to UIPickerView, but i know that Apple use to reject APPs that modify UIPickerView appearance.

I need a control that let me put images on a infinite loop scroll and let the user drag to select one.

I've found some controls here, but most of them only support strings, some support images and are looped but dont let the user scroll.

My purpose is to make a button scroll loop where you can drag any button to the center of the wheel and see a text description on a uilabel, i dont need the buttons to be clickables.

I hope I explained well, and sorry for my bad english.

Upvotes: 0

Views: 549

Answers (1)

Balram Tiwari
Balram Tiwari

Reputation: 5667

I would better suggest you to go with the iCarousel here. This enables you a different mode of scrolling & directions & effects which you can project on a Custom view similar (by Sliding-In & Sliding-Out from the bottom of screen) like a UIPickerView. This is not at all made using extending UIPickerView, but you can project it like that. Once you see a demo app of it, you can eventually change your mind to use this over custom UIPickerView.

Just implement the delegate method declared here to know which of the element was clicked. iCarousel comes with a image loading view also. You can look into that too.

But if you want to stick with UIPickerView customization, then please have a look at this stack Overflow post. This is certainly what you want, except that you need to add button instead of images.

Upvotes: 1

Related Questions