iOS Question ios 15 or xcode 13 problem with navigation bar tint color

tufanv

Expert
Licensed User
Longtime User
Hello,

I have updated my local builder and b4i for xcode 13 and updated to xcode 13 only and run my app without changing anything else, I see my navigation bar color white. Normally I set the color with :
Dim no As NativeObject = NavControl
no.GetField("navigationBar").RunMethod("setBarTintColor:", Array(no.ColorToUIColor(Colors.RGB(25,25,25))))

I am using ios 15 with xcode 13. This topic seems related to this issue:

 
Last edited:

tufanv

Expert
Licensed User
Longtime User
Erel has already memtioned this, I missed it:

 
Upvote 0

Semen Matusovskiy

Well-Known Member
Licensed User
B4X:
NavControl.As(NativeObject).GetField("view").As(B4XView).Color = xui.Color_White

It seems to me that UINavigationController does not have 'view' field and all work does a wrapper (B4INavigationControllerWrapper).
If so, do we need to analyze IOS release or a code above works at least since IOS 9 ?
 
Upvote 0
Top