0

I got some very weird issue with some user of iOS 14.0.1
First he reported that the username and password fields of Login page have disappeared. I thought how this can happened? app was even published in App Store, so I asked for a screenshot and he sent me this:

enter image description here

Previously I thought fields have really disappeared, but after checking code, storyboard, etc... and finding no clue, I checked the screenshot again minutely and I noticed that inputs are there but with color almost same as the background. I also noticed that the background of other inputs has changed the color to some grey (looking like disabled fields). The background of TextFields are set as "Default".
In order to fix it in iOS 14, I'm having to set background in all of them as White and incase I disable anyone of them, I need to set color again as Grey (and previously all these were not needed). Does anybody is facing same?

1 Answers1

0

Finally I got the problem so I'm posting the answer in case can help anybody. The problem was that I was using System's Color and these types of colors can changed (drastically like from white to black) according to the iOS selected mode (Light or Dark).

My suggestion is avoiding System's colors as long as you want fixed colors.

enter image description here

And in case your device is out of date and has no Light/Dark mode, check here how to switch between the modes in simulator.