Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tabs missing on Tab Controllet VC  RSS feed

 
Ranch Hand
Posts: 74
Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a set of view controllers linked to a tab controller. When a image is selected on one of these tabbed views a segue is executed and a detail viewocntroller not linked to the tab controlled is opened.

Problem is when I navigate back to the tabbed view controller via segue from the detail view, the tabs are no longer visible.

Is there way to ensure tabs will still be present when navigating back to the viewcpntroller that is part of the tab controller hierarchy?

Thanks in advance

PS Have also asked this on SO.
 
Ciaran Mooney
Ranch Hand
Posts: 74
Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep won't work, actually have to implement unwind method in target vc (tab controller) in order to navigate back to same instance we navigated from . Good tutorial here http://www.raywenderlich.com/81880/storyboards-tutorial-swift-part-2
 
The harder I work, the luckier I get. -Sam Goldwyn So tiny. - this ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!