fyasar
fyasar

Reputation: 3996

It's working only on simulator, but isn't working on Device

I'm working on sample project for learning core animation. I have problem with my device, I wrote simple project and it's conatins just one viewcontroller and this viewcontroller's view contains just two layer, each layer have .png image backgrounds (actually 700 x 700 px) and these images contains semi transparent content.

You can download example project from here

This project working perfectly on simulator but isn't working on Iphone. I have't seen any error or some thing like that. I have seen empty sreen on device.

Could someone give me suggestions about that please ?

Thank you

Upvotes: 2

Views: 157

Answers (1)

Vladimir
Vladimir

Reputation: 170839

Your image file name is "Clouds1.png " but you load it:

[[UIImage imageNamed:@"clouds2.png"] CGImage];

Problem is that file system on iPhone is case sensitive and on MacOS is not. So you must be careful with file names.

Upvotes: 3

Related Questions