How can I make a multi lined UISegmentedControl. I need it to have 6 buttons, 3 on each line. How can I do this programatically?
You will need to use two of them, using the selectedSegmentIndex property. If, when you get an action from one control, you set the value of the other control's property to -1 it will effectively give you a bank of six buttons in two rows that appear to be linked together as one group.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With