我有一个简单的动画:
[NSAnimationContext beginGrouping];
[[NSAnimationContext currentContext] setDuration:15.0];
[tweetsView setFrame:finalRect];
[NSAnimationContext endGrouping];但它不会有动画效果。结果将立即应用。我遗漏了什么?谢谢
发布于 2012-03-11 15:05:48
setFrame调用必须转到视图的动画制作代理:
[[tweetsView animator] setFrame:finalRect];https://stackoverflow.com/questions/9652903
复制相似问题