Quote:
Originally Posted by smasher
I did not look at your code, but It sounds like you're using a UIImageView and setting the animationImages property. If you set myView.animationImages = nil then you can set myView.image = anImage. That will display the single image "anImage".
300 images is a lot, probably too many to load into memory at the same time. Instead, you should probably keep an NSArray of image *filenames* , and when you pick your random number, take that filename and load the image.
|
could you give me an example of what an NSArray of image *filenames* would look like? And would I use the arc4random() function with that?
I really appreciate your help! Thank You!