iOS Question How to put a segmented control in a navigation bar at the top level of an app ?

b4auser1

Well-Known Member
Licensed User
Longtime User
I found in the B4iBeginnersGuideV1_1.pdf how to put segmented control on RootPanel

B4X:
Add it to the page in Page1_Resize, to ensure that the current size is known. ' sgcButtons is added here because Widht and Height  ' are known only from here Private Sub Page1_Resize(Width As Int, Height As Int)  Page3.RootPanel.AddView(sgcButtons, 10, sgcFlowers.Top + sgcFlowers.Height + 10, 100%x - 20, 40) End Sub

But from Appple guidline I see, that it's possible to put it
in a navigation bar
 
Upvote 0
Top