开发者

iphone - animation in the simulator works fine but in device nothing happens?

-(void) DownRoll1 { 
    down1.image = up1.image;
    [UIView beginAnimations:nil context:nil开发者_JAVA技巧];
    [UIView setAnimationDuration:2.2];
    CGPoint destination = CGPointMake(296,440);
    down1.center = destination;
    [UIView commitAnimations];
}


Answer was: check that your filenames will match on the case-sensitive device.

if you want to make something happen more quickly when the user hits the "shuffle" button, you could pre-load the image in your viewDidLoad method, and just not show it until later.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜