i have created a simple table view containg an image on the left side .it works fine in the simulator,but when connected to a device,i m not getting the image on the left side of the tableview and also the splash screen.I ve even gave a clean built its working on the simulator but not on the device.
NSString *imgSource = [[NSBundle mainBundle] pathForResource:@"Sug" ofType:@"png"];
UIImage *img = [[UIImage alloc]initWithContentsOfFile:imgSource];
cell.imageView.image=img;
return cell;
Dont forget to add the image to your xcode project. And try this
cell.myImageView.image = [UIImage imageNamed:@”name of the image with type”];