tintColor not working on UISegmentedControl in modal view with mode Form Sheet on iPad
Originator: | westerhoff | ||
Number: | rdar://21118353 | Date Originated: | 27-05-2015 |
Status: | Open | Resolved: | |
Product: | iOS | Product Version: | 7,8 |
Classification: | Bug | Reproducible: | Always |
When presenting a view controller modally with the presentation mode Form Sheet, a UISegmentedControl within that view controller will not change tint color if a application wide tint color has been set. In that case the segmented control will have the application wide tint color instead of the tint color set for the segmented control either in storyboard or even in code. Steps to Reproduce: Set a application wide tint color: window?.tintColor = UIColor.redColor() Present a view controller that has a segmented control modally with presentation mode Form Sheet Then set the tintColor of the presented view controller to another color: segmentedControl.tintColor = UIColor.blueColor() Expected Results: The segmented control with a blue tint color Actual Results: The segmented control with a red tint color
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!