Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
well

first of all i have tried cutting it down to two pics but it doesn't work BUT it will works only if i use my icon picture(still in .png format) or my filp view image tose are the only ones that load in the debugger. ITS WIERD.
 
When you say 'load in the debugger' you mean 'load while you are running your app on the device using the debugger?'

So some images load and others don't, on the device.

Have you confirmed that the images that don't load are present on the device?
 
yes

yes it runs on my mac but not on my iphone

but it does load some images

The debbuger loads the images on the device(or at least it says it does) but then won't run the pictures named 1 - 101.:eek:
 
Just to be clear, the debugger doesn't load any images. It's your app that loads the images.

So what happens when you run the code you showed that starts the image animation? Does it crash or just the image animation doesn't appear?

UIImage imageNamed returns nil if it can't find the image. If you get a nil from any of those imageNamed calls then your array will get a nil and throw a runtime exception. If that doesn't happen then the images are being loaded.
 
what happens is

sorry it took so long to get back.:(

what happens is for some reason it loads the icon image and my background image but not the other images. it does't crash, it doesn't freeze it just doesn't do it.:confused:

I have just figured out something. I created a new xcode project and then i tried the same thing with just a few of the images and renamed them as random image names and ran it the animation worked yet after the animation ran it force quit.:eek:
 
sorry it took so long to get back.:(

what happens is for some reason it loads the icon image and my background image but not the other images. it does't crash, it doesn't freeze it just doesn't do it.:confused:

I have just figured out something. I created a new xcode project and then i tried the same thing with just a few of the images and renamed them as random image names and ran it the animation worked yet after the animation ran it force quit.:eek:

Can you post the project? (Just zip up the whole directory)
 
sorry i tried to upload it but the .zip was to big

Oh, no, you'd have to use one of free web hosting tools or whatever. Or PM the filesize and we can figure something out.

I've invested time thinking about your problem, we might as well just fix it. :)
 
Don't just zip up the whole folder. Delete the build folder. Then zip up the whole folder. It will be small.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.