开发者

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

开发者 https://www.devze.com 2022-12-17 13:55 出处:网络
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 v开发者_JAVA百科iewcontroller\'s v

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 v开发者_JAVA百科iewcontroller'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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消