简体   繁体   中英

disable push animation in Xcode storyboard

I have created two viewcontrollers and added a button to viewcontroller1, in storyboard. When I push this button viewcontroller2 is shown (this is done by connecting viewcontroller1 with a push to viewcontroller2). This works fine but I would like to remove the animation when viewcontroller2 is pushed.

How is this done?

I have solved the issue, marked the segue between the views -> changed style to custom and created a segue class.

Then i followed this tutorial: http://i5insights.com/?p=744

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