Reputation: 940
I am using a segmented control as suggested by Marc M here: How do I use a UISegmentedControl to switch views?
I also have a tabbar on the bottom that I would still need to use regardless of what segment I am on.
How to I get the segmented control to switch XIB files?
Upvotes: 0
Views: 617
Reputation: 12345
Your should follow the answer provided by @Rayfleck.
To setup a segmented control,
Create two view for each Teaching and worship (respectively), and have them ready with your data.
Use the link you had provided in your question and check the example on the usage for -
(IBAction)segmentSwitch:(id)sender
and link them to the two views.
Upvotes: 1
Reputation: 12106
Teachings and Worship would both be sub-views of the Media view. Devotions, About, Connect, Live Service would each their own views, completely independent of the Media view and it's sub-views.
Upvotes: 0