Unable to load textures
Hi,
I have developed a game, which is running on iphone simulator properly.
But when I tried running it on my Ipod Touch, I m not able see the graphics on my Ipod Touch.
When I tried debugging it, it was not able to load textures hence they were not getting rendered.
CGImageRef textureImage = [UIImage imageNamed:fileName].CGImage;
I was using the above API to load the images, it works fine with simulator but when i run it on device, the images i.e textureImage is always NIL.
I m using PNG textures.
Please help I m new to Iphone Development.
Thanks and regards
C.Sharatkumar
|