Jack Cole Well-Known Member Licensed User Longtime User Jun 14, 2020 #1 I have tried the example code from this thread. It does not seem to work. It always returns false whether in Dark mode or not. Has anyone else been able to get it to work? Thanks, Jack
I have tried the example code from this thread. It does not seem to work. It always returns false whether in Dark mode or not. Has anyone else been able to get it to work? Thanks, Jack
Erel B4X founder Staff member Licensed User Longtime User Jun 14, 2020 #2 Have you enabled dark mode with this line: B4X: #PlistExtra: <!--<key>UIUserInterfaceStyle</key>--> ? Upvote 0
Have you enabled dark mode with this line: B4X: #PlistExtra: <!--<key>UIUserInterfaceStyle</key>--> ?
Jack Cole Well-Known Member Licensed User Longtime User Jun 14, 2020 #3 No, I didn't know about that. Don't think that will help with the app I am working on. I have fully implemented the UI light/dark theme process through my code, but can't detect if the OS is set to dark mode. Upvote 0
No, I didn't know about that. Don't think that will help with the app I am working on. I have fully implemented the UI light/dark theme process through my code, but can't detect if the OS is set to dark mode.
Erel B4X founder Staff member Licensed User Longtime User Jun 14, 2020 #4 You must add it if you want to allow your app to support dark mode. Upvote 0