iphone - how to implement drop down menu -


I have to select a category from the drop down menu when I press a field ....

You can try using a UIActionSheet like this:

 

Then apply the representative methods like this:

  // A button is called when clicked. Scenes will be automatically rejected after this call return - (zero) Action sheet: (UIACffets *) Action sheet clicked Button ATindex: (NSITAZ) button index {Switch (button index) {Case X: // Choice option X break; ... Default: // Default Action Brake; }}  

Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -