Why I can't see the background image in the device, but appears on the simulator?

Posted by Tattat on Stack Overflow See other posts from Stack Overflow or by Tattat
Published on 2010-05-09T08:07:04Z Indexed on 2010/05/09 8:18 UTC
Read the original article Hit count: 156

Here is the viewDidLoad:

[self.view setBackgroundColor:[UIColor colorWithPatternImage:[UIImage imageNamed:@"bg.png"]]];

It can show the simulator, but not on the device, why?? thz.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk-3.0