简体   繁体   English

为什么我的一些推动故事板细分不显示偷看和流行的选项?

[英]Why don't some of my push storyboard segues show an option for peek and pop?

Some of my push segues show an option for peek & pop while other push segues don't show the option. 我的一些push segues显示了peek和pop的选项,而其他push segues则没有显示选项。 Why is that? 这是为什么?

在此输入图像描述

sorry about the late Reply. 对于迟到的回复感到抱歉。 I was having the same problem. 我遇到了同样的问题。 it seems like by design Apple only show the peek&pop option in interface builder for Action segues (like segues from buttons or cells to a UIViewController) but NOT for Manual segues (ie segues from ViewController to ViewController, that we usually trigger by code and set-up in prepareForSegue: ). 似乎在设计上,Apple只在Action segues的界面构建器中显示peek&pop选项(如从按钮或单元格到UIViewController的segue),但不适用于手动segues(即从ViewController到ViewController的segue,我们通常通过代码和set触发)在prepareForSegue:)。 This is mentioned here 这是在这里提到的

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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