objective c - How to make an iPhone dropdown-looking button -


i've seen dropdown-like button on many apps, including turf wars, simulates dropdown picker. need use same functionality in app, i'm not sure best way go may be.

example:
here's example found online.

i figured make 2 images , set them uibuttons background image different states , have button open pickerview.

any input appreciated.

rod

you can use button image dropdown image. , can place picker on button hidden. in click event show picker. , after selection on picker have update text value of button , hide picker again. hope helps you...


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -