How can I make the user choose between two options (Available or not Available) in IOS?

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