If i want the user to choose one of the two options(available or not available) ... what is the best thing for this design in ios application..I tried to use fragments buttons, is that true?

How can I make the user choose between two options which are available or not available for each item in the list

1 Answer 1


When there are only two choices, and the choices are just positive/negative (yes/no, available/not available...), the best choice is often to use a checkbox or the equivalent (in the case of iOS, a switch).

However, other than the verbosity of it (and the possible issues with the space it takes in some localisations), alternate choices like a segmented control may be appropriate.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.