iOS, Swift Apps, Why Testing Dark and Light Mode is Important

4 Просмотры
Издатель
On iPhones with iOS 13.0 and later, users have the ability to set their phones on Dark Mode. In Dark mode, apps will use darker backgrounds and this may help with the amount of blue light and help people sleep. Dark mode also improves phone's battery life. Switch under Settings, Display & Brightness, there is an option to put your phone in Dark or Light mode.

Make sure to test your app in both Dark and Light mode to make sure it's still usable in both modes. Ideally your app would look good in both modes, but this video shows a quick fix to override the user's choice if the app will only look good in one mode.

A better solution is to use color sets (see https://youtu.be/Rv6QVD4r06M )
Категория
Язык программирования Swift
Комментариев нет.