I have an app we have released for a few years running the code below to change the toolbar and navigation bar colours but it's stopped working recently.
I have found code that has been posted to change the colours in B4X Views but my code isn't using B4XViews, is there a way to do it without having to completely rewrite the app?
Thank you
I have found code that has been posted to change the colours in B4X Views but my code isn't using B4XViews, is there a way to do it without having to completely rewrite the app?
Thank you
B4X:
Dim no As NativeObject = NavControl
no.GetField("navigationBar").RunMethod("setBarTintColor:", Array(no.ColorToUIColor(Colors.ARGB(255, 255, 191, 0))))
no.GetField("toolbar").RunMethod("setBarTintColor:", Array(no.ColorToUIColor(Colors.ARGB(255, 255, 191, 0))))
SetTitleColor(no, Colors.White)