Accessibility large content viewer for UISegmentedControl using wrong colors for text

Number:rdar://FB9079388 Date Originated:4/14/2021
Status:Open Resolved:
Product:iOS Product Version:14
Classification:Bug Reproducible:Yes
Our designers want our UISegmentedCoolor instances to follow internal branding guidelines. To that extent we need to set the selectedSegmentTintColor to a shade of blue; instead of the default color. In order to avoid issues with contrast we set the color of the text when selected to white.

When the user is using very large accessibility text sizes and does a long press the largeContentViewer is displayed. However, the text color of the selected choice appears to be using the same attributes (i.e. color) of the segmented color. Show the result is white text on a white background.

See the attached images:
BugWhiteText.png shows the problem
BugRedText.png shows the problem as well using a different color to confirm that the text is there but drawn in the wrong color


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at 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!