Supporting Dark Mode in your interface | Apple Developer Documentation

Update colors, images, and behaviors so that your app adapts automatically when Dark Mode is active.