by gnicholas · 7y ago · 0 comments
I really wish Apple made it possible to give access to this feature without cutting off a significant portion of iOS users (including pretty much all schools, which are critical for us). Existing users can't upgrade, but new purchasers wouldn't be able to download at all.
But you've been able to change the "user interface style" for view controllers since iOS 12 [0]. And you've been able to add UIColors to asset catalogs that change depending on that setting since iOS 12 as well.
I'll be honest, I haven't tried this myself. But either this works or Apple's documentation is wrong.
[0]: https://developer.apple.com/documentation/uikit/uiuserinterf...
Building out a dark mode in your app has been readily possible for a long time now. You could've done it years ago.
But you like the idea of it being "global"? You mean, integrated with the rest of the OS, so that when the OS is in dark mode, your app is in dark mode? And you somehow want Apple to introduce that feature without introducing a new version of the OS? How does that work?