iOS Question [SOLVED] SegmentedControl in Navigation Bar iOS 12 is invisible

Mike1970

Well-Known Member
Licensed User
Longtime User
hi I followed this post , and all work fine.
But when I tried the app on iOS 12.x the Segmented Control became invisibile, touchable, but no GUI. Just not visibile.
Why it behave like so? I expected only to became blue (the old style).

thanks!
 

Mike1970

Well-Known Member
Licensed User
Longtime User
Solved.
I was chaning the navigation bar appeareance in non-productive way.

Corrected with:

B4X:
noNavigationBar.SetField ("barTintColor", noNavigationBar.ColorToUIColor (Colors.White))
noNavigationBar.SetField ("tintColor",     noNavigationBar.ColorToUIColor (Colors.Black)) 'must be different from the barTintColor'
'noNavigationBar.SetField ("translucent",  False) 'on iOS > 12.x do not put this line, or put it to True'
 
Upvote 0
Top