I am creating a game for the iphone and i have frame by frame images set up of my object getting closer and closer to you (I used frame by frame so i could speed up and slow down the object without distortion). Is there a way to say that when the UIImageView equals a certian to do something. I tried saying this.
if (Main.image = [UIImage imageNamed
"picture1.png"]) {
//My Code Was Here...
}
I put that in the view did load and when the app started up the image was set to that image instead of the NSArray of images it was supposed to go through.
if (Main.image = [UIImage imageNamed
//My Code Was Here...
}
I put that in the view did load and when the app started up the image was set to that image instead of the NSArray of images it was supposed to go through.