matovsky.com
Saving the selection of UISegmentedControl
It happens that you need to save the previously selected value in the UISegmentedControl. Below is this solution.It would seem that there is difficult? After all, you just need to save the previously selected value. But just such a small function includes all the code below.