DumbBlonde
DumbBlonde

Reputation: 58

iOS text labels work on simulator and older devices, disappear on newer devices

I am developing an app that has several vertical stacks of alternating buttons and text labels. The app appears and functions fine in the simulator on all devices, but when downloaded onto actual devices, the text labels are not visible with newer devices such as iPhone X.

Upvotes: 1

Views: 128

Answers (1)

DumbBlonde
DumbBlonde

Reputation: 58

Turns out the default text color is different on the newer devices. Black text on the iPhone 7. White text on a white background on the iPhone X was the problem. Weirdly, this issue was not correctly simulated on the simulator so debugging in XCode wasn't helpful- it had to be run on actual devices. Thanks DonMag for the suggestion on the background color.

Upvotes: 1

Related Questions