1
有沒有辦法在我的iPhone應用程序中凍結我的動畫的最後一幀?這是我的代碼到目前爲止。凍結動畫的最後一幀?
popup.animationImages = [NSArray arrayWithObjects:
[UIImage imageNamed:@"picture1.png"],
[UIImage imageNamed:@"picture2.png"],
[UIImage imageNamed:@"picture3.png"],
[UIImage imageNamed:@"picture4.png"],
[UIImage imageNamed:@"picture5.png"],
[UIImage imageNamed:@"picture6.png"],
[UIImage imageNamed:@"picture7.png"], nil];
popup.animationDuration = 1.750567;
popup.animationRepeatCount = 1;
[popup startAnimating];
[self.view addSubview:popup];
你不知道你給我帶來這個簡單的答案有多開心。非常感謝你!! – NextRev 2010-03-02 15:39:44