iOS Question TabBar with Master-Detail

David Meier

Active Member
Licensed User
Longtime User
Hi

I have an app with a tab bar and three pages: Master Page, Detail Page, 3rd page. For the master page and the 3rd page I have the icons A and B in the tab bar.
Now I would like to show the tab bar with icon A and B on the detail page too. Does
 

David Meier

Active Member
Licensed User
Longtime User
Here it comes, the difficult part for me is the details page. How can I have an activated tab bar item from the master page?

Thank you!
mockup_master_detail.png
 
Upvote 0

David Meier

Active Member
Licensed User
Longtime User
Here my solution. It's an extension of the example in the beginner's Guide 1.2 chapter 12.6 p. 260.
I don't know whether this is a good or the correct solution but it works ;)

The important step is adding a navigation controller to the tab bar controller.
B4X:
TabControl.Pages = Array(Page1, NavControl)


Kind regards
David
 

Attachments

  • master_detail_tab_bar.zip
    143.8 KB · Views: 260
Upvote 0
Top