[英]How to open UITableViewCell by changing height?
I want to open an UITableViewCell by changing the height to the full screen height instead of doing a standard drill down animation. 我想通过将高度更改为全屏高度来打开UITableViewCell,而不是执行标准的向下钻取动画。
ie something like this: https://dribbble.com/shots/2245868--Writer-Article-List 即像这样的东西: https : //dribbble.com/shots/2245868--Writer-Article-List
Does anyone have an idea on how to create something like this? 有人对如何创建这样的东西有想法吗?
My guess is that this is merely an ordinary push transition (pushing a detail view controller onto the UINavigationController stack) with a custom transition animation. 我的猜测是,这只是一个带有自定义过渡动画的普通推送过渡(将详细信息视图控制器推入UINavigationController堆栈)。 The "expansion" effect is a clever illusion.
“扩展”效果是一种聪明的幻想。
Consider, for example, Apple's Calendar app, which transitions from a year to a month, in a navigation controller, by zooming in. 例如,考虑苹果公司的日历应用程序,该应用程序通过放大在导航控制器中从一年过渡到一个月。
So, you'll implement navigationController:animationControllerForOperation:fromViewController:toViewController:
and the rest follows as usual with custom transition animations. 因此,您将实现
navigationController:animationControllerForOperation:fromViewController:toViewController:
其余部分将照常使用自定义过渡动画。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.