Storyboard - how to make segues for a certain View

时间:2016-08-31 12:11:02

标签: ios swift storyboard uistoryboard

I got 2 views - containers on main view : enter image description here

on the left - is a view - container for menu and behind it is a content container - also a view. It's simply a usual hamburger navigation

What I need is a storyboard with it segues to change a second view only - a content container. I'm new to iOS and presume that there could be a way to make storyboard for any view. Please tell me how to do it. If there should be any code - please write in Swift because I'm writing in it

1 个答案:

答案 0 :(得分:1)

如果您的用例是:汉堡导航应该保留,您需要更改当前的FrontViewController。 Segue不会被使用。

Segue用于NavigationViewController。它会将控制器抛给新的ViewController并将你的预览FrontViewController保持在其后栈中。