0
我有一個CATransition(下面的代碼),用於向下移動視圖。我怎麼可以指定動畫開始播放的位置,例如60,30在特定位置啓動CATransition
下面的代碼我目前使用:
CATransition *animation = [CATransition animation];
[animation setDuration:0.5];
[animation setType:kCATransitionPush];
[animation setSubtype:kCATransitionFromBottom];
[animation setTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]];
怎麼樣?對不起,仍然是石英的東西 – 2010-08-03 19:03:32