Instead of suggesting how to put a segmented control in a scrollview (see other answers), I'm going to suggest a different approach: change the user interface element.
If you have a couple (from two to three) mutually exclusive options on the desktop application, you can use the radio buttons, and this will make sense; but if you had ten or more options, throwing away these switches in a scrollview would not be the best choice. The better / cleaner user interface will use the drop-down menu.
This was for a desktop application. But the principles of the user interface for mobile OS are the same. A segment control should have several options (maybe five vertices). Moreover, you should use a different user interface element.
Imagine that iPhone, when choosing a language, offered each language in a segmented control. No! Instead, when you select a language, you will be shown a list of choices.
user1040049
source share