情节提要中封面垂直过渡的对面

情节提要中封面垂直过渡的对面

本文介绍了情节提要中封面垂直过渡的对面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我想知道如何创建一个与封面垂直方向完全相反的segue!Cover Vertical是从底部到顶部的,我想要从顶部到底部的过渡.我怎样才能做到这一点?预先感谢!

I was wondering how i could create a segue with the exact opposite transition of cover vertical! Cover Vertical comes from bottom to top, i want a top to bottom transition. How could i achieve this? Thanks in advance!

推荐答案

我相信您的问题可以由其他回答.stackoverflow帖子

I believe your question can be answered by another stackoverflow post

并从 Apple

关键是要实现自己的-(无效)执行方法.在 + animateWithDuration:delay:options:animations:completion:方法之前,将viewController.view.origin设置在屏幕下方,然后在动画块中调整其高度.

The key is to implement your own - (void)perform method. Before the + animateWithDuration:delay:options:animations:completion: method, set the viewController.view.origin to be below the screen and in the animations block adjust it's height.

这篇关于情节提要中封面垂直过渡的对面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 00:28