1

I am creating an iphone application, where i am getting confuse. I need to show a control (displaying Online option) as i have mention in below screenshot. I have seen such type of controls in Android.

enter image description here

When user will press, it should display Offline and Online two options in one small pop up view. Selected option text will come on to the control field. How to implement or give me suggestion to show such type of field in iphone.

Thanks in Advance.

Anand Gautam
  • 2,541
  • 3
  • 34
  • 70
  • I would suggest using a UINavigationController and a UITableViewController as destination view for displaying the two values. I think thats the way Apple does it e.g. in the settings app. – Chris Oct 07 '13 at 09:44
  • @ChrisI don't think it is the good way to do it. why UINavigationController? – Anand Gautam Oct 07 '13 at 09:47
  • Should i use ComboBox with UITableView for solution. – Anand Gautam Oct 07 '13 at 09:50
  • I suggested a NavigationController only because Apple uses it. Look at settings app -> general -> international -> calendar. This is an example where you have only 3 choices. I personally don't think that NavigationController is a good way to do this. But is there a better one? – Chris Oct 07 '13 at 09:53

1 Answers1

0

Check the answer here: Any pull down or drop down menu for iOS?

Personally I would make a text box with an image view to make it look like a drop down box. then on tap load a UIActionSheet for the user to select from.

Community
  • 1
  • 1
StuartM
  • 6,743
  • 18
  • 84
  • 160