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

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

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