UIImageView loads file on simulator but not on device?
This loads the image on the simulator but not on the device:
UIImageView *splashImage = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"SplashPH.png"]];
[self.vie开发者_C百科w addSubview:splashImage];
Any help appreciated // :)
Did not verify but you might want to use the NSBundle pathForResource:ofType:
call - see How to fopen() on the iPhone?
精彩评论