objective c - Customize iOS component to make something like pickerview -


how can make picker/slider or whatever view?enter image description here

it given me designer , have no idea how make it!

this not easy task, there different roads can take, 1 makes more sense me subclass uicontrol.
uicontrol subclass of uiview, main difference it's ready work target-action pattern , gives possibility track touches without adding gesture recognizer. lot of ui interactive elements concrete subclasses of uicontrol, instance uibutton. ray's site has interesting tutorial how that.
harder part integrating autolayout programmatically make adapt size of views.
log hard road provides reliable solution, think can achieve similar compositing own uiview subclass using customized slider , labels.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -