[英]disable push animation in Xcode storyboard
I have created two viewcontrollers and added a button to viewcontroller1, in storyboard. 我在情节提要中创建了两个viewcontrollers,并向viewcontroller1添加了一个按钮。 When I push this button viewcontroller2 is shown (this is done by connecting viewcontroller1 with a push to viewcontroller2).
当我按下此按钮时,显示了viewcontroller2(这是通过将viewcontroller1与对viewcontroller2的按下连接来完成的)。 This works fine but I would like to remove the animation when viewcontroller2 is pushed.
这工作正常,但我想在按下viewcontroller2时删除动画。
How is this done? 怎么做?
I have solved the issue, marked the segue between the views -> changed style to custom and created a segue class. 我已经解决了这个问题,在视图之间标记了segue->将样式更改为custom并创建了segue类。
Then i followed this tutorial: http://i5insights.com/?p=744 然后,我遵循了本教程: http : //i5insights.com/?p=744
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.