I have added a UISegmentedControl in the application. The segment control works fine and all i am doing with it is to get its selected state when a value is changes nothing else.
The UISegmentedControl initially looks like this
-
After i show an Reachability Not available state it looks like this
-
But after the application resumes and internet is connected and application resigns active it looks like this
The UISegmentedControl does work properly but the color does not resume its state.
- The Reachibility blocks are in Application Delegates and have nothing to do with the UISegmentControl
EDIT
I have also checked that even after i set the color programatically in viewDidLoad or viewDidAppear or even in the state changed setting the TintColor of the UISegmentedControl it insted of an RGBA value it gives color as ( UIDeviceWhiteColorSpace 0.3 0.8 )