Posts

Post not yet marked as solved
0 Replies
300 Views
I am having some issues with Dark Mode color contrasts and I'm not sure what Apple intended.I have an app at the moment that has a largely white background with black text. The app uses location services and so it displays the "Allow *** app to use your location?" system dialog on first use.I have converted the app to work well in Dark Mode, and it looks pretty fab. However there is an issue with displaying the system dialogs over the top of the app. In Light mode the system dims the white system background to an off-white color and displays the location dialog over the top of the app in white. There is clear distinction between the white location dialog and the off white background. You can clearly see the edges of the dialog box. This is the same as always such as in earlier iOS versions.In Dark mode the same thing happens I think. However the system background color defined by iOS in this case is black. The system dims the black system background. Dimming black has no effect, it is still black. It then displays the system dialog in black on top of this black background. There is no contrast between the edge of this system dialog and the background, a user cannot see the edges of the dialog box, although the label colours are still clearly visible, so the user can still make a choice. It looks unusual.I don't think this is what Apple intended, or perhaps this is an issue yet to be resolved? Or perhaps I am always meant to use the system secondary background color in my apps and this resolves the issue somehow? Am I missing some usage guidelines on how to use these colors?What am I meant to do in this situation to make the Apple dialog contrast with the background so the user can see the dialog properly?Cheers,Peter Smith.
Posted
by Pete.
Last updated
.
Post marked as solved
2 Replies
2.4k Views
Hi,I am running Xcode 9.4 and have just run an "Export for Localization..." on a previously localized project. It seems to have missed re-exporting all the strings in Localizable.strings that I have already had translated so I cannot tell what new strings need to be translated. I have used these exports before for translation so I may have missed a step somehow?Also I noted that when I have a button in a storyboard with a title/label that I have had previously translated, then I have subsequently changed the label on the button in this version of the code it does not mark the text as requiring retranslation. Xcode seems happy to export this as it stands - it keeps the original translation with the new source text. The translation is now incorrect.If I manually extract the strings for translation, get them translated and then manually put them back into this partial xliff and reimport will it break my project? I'm a bit burned out at this last stage of the project to diagnose what is going on here!!!Regards,Peter Smith.
Posted
by Pete.
Last updated
.