2012-03-11 3 views
1

일어나고 나는 간단한 애니메이션이 있습니다NSAnimationContext는 즉시

[NSAnimationContext beginGrouping]; 
[[NSAnimationContext currentContext] setDuration:15.0]; 
[tweetsView setFrame:finalRect]; 
[NSAnimationContext endGrouping]; 

를하지만 애니메이션하지 않습니다. 결과는 즉시 적용됩니다. 내가 뭘 놓치고 있니? 감사

뷰의 애니메이터 프록시로 이동합니다

답변

5

setFrame 전화 :

[[tweetsView animator] setFrame:finalRect];