-(void) DownRoll1 {
down1.image = up1.image;
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:2.2];
CGPoint destination = CGPointMake(296,440);
down1.center = destination;
[UIView commitAnimations];
}
views:
58answers:
1
+1
A:
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.
David Maymudes
2009-12-07 18:01:27
how can i preload it if it come randomize from the array?
omri
2009-12-07 18:46:19
you can pick your random number early; as long as you don't tell the user you've made up your mind about which image, it doesn't matter.
David Maymudes
2009-12-07 19:05:47