简体   繁体   中英

storyboard: add a new scene after embedding other scene in navigation controller

I have some scenes set up and already embedded them in the navigation stack (see pic).

在此处输入图片说明

If I now duplicate the lower right segue, it doesn't have the navigation bar (see pic below). I can set the top bar from "inferred" to "navigation bar", but that won't put it on the existing navigation stack (eg no back button etc.).

How can I get the new ViewController into the existing navigation stack?

Lots of thanks in advance.

在此处输入图片说明

我不知道您按什么顺序执行此操作,但是我发现如果我复制了View Controller,然后只是将您作为登录表View Controller拥有的东西添加到了重复的View Controller中,即重复的View Controller将拾取导航栏并成为viewControllers集合的一部分。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM