In my app there are images that are created when someone touches a button, and these images are then moved up the screen. In the simulator, the generated Image appears and moves up the screen, But on the Device, when I hit the button, the Image does not appear.(I can still tell there is like a ghost still there because as it moves up the screen it collides with objects, so I think it is being generated but the Image file is not being specified or something like that.) Here is my code for generating the Image:
Code:
UIImageView *newImage = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"Image3.png"]];
newImage.frame = CGRectMake(0, 0, 10.0, 10.0);
newImage.center = CGPointMake(239.0, 236.0);
[ImageArray addObject:newImage];
//above is just to store the image into an NSMutableArray so I can Later retrieve it and move it.
Could someone please tell me why this is? Is it because the device is more picky or something? This is the final problem on my app that I have to solve so any help is greatly appreciated!