xcode convert iPhone to iPad
- by user1625435
help please. my code that change UIImageView is:
- (void) viewDidLoad {
background.image = [UIImage imageNamed:@"myImage.png"];
}
It works good on iPhone and also on iPad but, how can I change "myImage.png" to "myImageHD.png" when I will run this app on my iPad???? I just need to show myImageHD if my app will run on iPad. IT CAN BE DONE WITH XIB FILE, BUT I NEED WITH CODE TO FIX IT. To detect if app run on iPad, and show myImageHD. Thanks.