I’ve written an app using Swift and UIKit (mostly programmatic, little to no storyboards) and it is currently themed to always be dark. This brings up an issue on my “create account” page. I have textfields that use a black background with grey text and I want the user to be able to use Apple’s strong password suggestion option, but the issue is that whenever it highlights the field in the yellow-y / chartreuse-y colour, the text is no longer legible. (light grey + chartreuse = bad combo)
My initial idea was to determine when the strong password suggestion was showing, and then to change the text colour until it was dismissed, but I’m not sure how to go about doing that. I’ve seen other apps on the App Store, such as Yoto, do this text colour change, so it has to be possible, right?
(I know changing the text box colour would fix the problem but it would look like butt cheeks and betray the theme I’ve already made around the entire rest of the app)
BasedSolaire is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.