How to make a multi-line UISegmentedControl. I need it to have 6 buttons, 3 in each row. How can I do this programmatically?
You need to use two of the selectedSegmentIndex attributes. If, when you get an action from a control, you will The value of the other control property is set to -1, which will effectively provide you with a group of six buttons, which are displayed as a group linked together in two rows.
How to make a multi-line UISegmentedControl. I need it to have 6 buttons, 3 in each row. How can I do this programmatically?
You need to use two of the selectedSegmentIndex properties. If, when you get an action from one control, you set the value of the other control property to -1, it Will effectively provide you with a set of six buttons, which are displayed as a set linked together in two rows.