Hi, in this thread i was worried because a project I was coding month before stopped working with no changes.
After some tips from the guys who helped me, i discovered that this istuction does not work anymore, and causes the crash of the app (in my particular case no log message was dispalyed).
The error is:
Anyone knows how to achieve the same result now (Change the color of the statusbar)?
Edit:
Also the navigationBar behaves strange..
Result:

Edit2:
if i remove this line the navigationbar show "correctly", but in standard mode obviouslly not with Large title
After some tips from the guys who helped me, i discovered that this istuction does not work anymore, and causes the crash of the app (in my particular case no log message was dispalyed).
B4X:
Dim no As NativeObject = App
no.GetField("statusBar").SetField("backgroundColor", no.ColorToUIColor(0xFFBB4B4B))
The error is:
Rich (BB code):
App called -statusBar or -statusBarWindow on UIApplication: this code must be changed as there's no longer a status bar or status bar window. Use the statusBarManager object on the window scene instead.
Anyone knows how to achieve the same result now (Change the color of the statusbar)?
Edit:
Also the navigationBar behaves strange..
B4X:
Dim no As NativeObject = Main.NavControl
no.GetField("navigationBar").SetField("prefersLargeTitles", True)
no.GetField("navigationBar").SetField("translucent", False)
no = ContactListPg
no.GetField("navigationItem").SetField("largeTitleDisplayMode", 1) 'always
Result:

Edit2:
if i remove this line the navigationbar show "correctly", but in standard mode obviouslly not with Large title
B4X:
no.GetField("navigationBar").SetField("prefersLargeTitles", True)
Last edited: