I set up a CALayer
is shows in the iPhone Simulator
does not show in the iPhone
How can that be?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
On Feb 12, 2009, at 21:23, David Blanton wrote:
I set up a CALayer
is shows in the iPhone Simulator
does not show in the iPhone
How can that be?
I doubt anyone can answer your question without seeing relevant code
snippets.
/brian
The Simulator is not case sensitive when it comes to file names.
The file name in the project is Level 1 top.png Capital L
This code yields a nil provider in the iPhone, ergo no layer contents
imageFileName = [[[NSBundle mainBundle] resourcePath]
stringByAppendingPathComponent:@level 1