Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个未分配给界面构建器中的任何按钮的 segue,但是[performSegue segueWithIdentifier@""]在点击动态创建的按钮时我确实调用了 a。
[performSegue segueWithIdentifier@""]
有没有办法peek&pop在那些动态创建的按钮上启用?
peek&pop
太感谢了!
您需要实现 UIViewControllerPreviewingDelegate 的方法。在此处查看详细信息