iOS Question How do I Start working with Dark Mode in IOS???, Any Idea!!

Francisco Picado

Member
Licensed User
Longtime User
Hi B4x Community,

I know that still is in beta phase to work with Dark Mode in IOS from the Configuration, and always is the easy way to change forecolors and backgounds from the Editor by code or by the designer, but my costumers ask me if my app will have Dark Mode Enabled, so i am thinking around how to start working so when IOS 13 it is out got everything ready. it will be just to detect if dark mode is enabled on IOS so i change backgrounds of controls and forecolors of letters depend of the result of validatiions?, and from now on need to make changes in my apps for everything or will be like B4A in the manifest Editor just imports themes (i know there is not manifest in b4i editor so maybe will be imports something like a .ccs file).

I know that in the forum there are lot of post showing how to change colors of some regions like changing the status bar color:

https://www.b4x.com/android/forum/threads/solved-how-to-set-color-of-status-bar.99112/#post-624125

i see this post here en B4J can detect in OSX, maybe something like this but for IOS to implement.

https://www.b4x.com/android/forum/threads/detect-osx-dark-mode.100807/

or like This same as before for B4J but by importing a .css file:
https://www.b4x.com/android/forum/threads/dark-theme-base-color.82030/#content

I would appreciate any suggestion.

Thanks!
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
The OS provides new features that make it easier to support dark theme. I will provide more information about this in the near future. Note that if you are using the hosted builders then you will need to wait until they will be updated to Xcode 11 (it will only happen after the beta stage).
 
Upvote 0

Francisco Picado

Member
Licensed User
Longtime User
The OS provides new features that make it easier to support dark theme. I will provide more information about this in the near future. Note that if you are using the hosted builders then you will need to wait until they will be updated to Xcode 11 (it will only happen after the beta stage).

Glad to hear about that, as Always Thank you for the Support and Effort to Improve B4X software.
 
Upvote 0
Top