I have the following scenario:
UITabBarController
--tab1
--tab2
----UINavigationController (with a UITableViewController and 3 rows)
------pushedViewController
--tab3
--tab4
--tab5
Ok, so, when user clicks on an option in the UINavigationViewController it pushes "pushedViewController", and in that viewcontroller I want to have a segmented control like the one on the App Store https://i.stack.imgur.com/hrdxL.png
How can I do this?
I already checked
https://stackoverflow.com/questions/1559794/changing-views-from-uisegmentedcontrol
https://stackoverflow.com/questions/5280653/uisegmentedcontrol-to-switch-views-in-uitabbarcontroller
http://www.astroryan.com/?p=19
https://stackoverflow.com/questions/8723094/using-uisegmentedcontrol-to-switch-between-two-views
This could help me but I can't figure out how Switch between UIViewControllers using UISegmentedControl
And this user asked the same but it doesn't have the full code Recreating Segmented Control from iPhone App Store