Issue with UIImage files not being found on phone

Posted by Driss Zouak on Stack Overflow See other posts from Stack Overflow or by Driss Zouak
Published on 2010-04-07T20:45:18Z Indexed on 2010/04/07 20:53 UTC
Read the original article Hit count: 244

Filed under:
|
|

Note: Using Monotouch. I have a directory called Images where I have all my PNG files. In my code I have the following

_imgMinusDark = UIImage.FromFile("images/MinusDark.png");

On the simulator it runs fine, on the phone it's null. I have the Images folder content (all the PNGs) in my MonoDevelop marked as Content in terms of Build Action.

What am I missing?

thanks

© Stack Overflow or respective owner

Related posts about monotouch

Related posts about iphone