xcode convert iPhone to iPad
Posted
by
user1625435
on Stack Overflow
See other posts from Stack Overflow
or by user1625435
Published on 2012-11-21T04:49:33Z
Indexed on
2012/11/21
4:59 UTC
Read the original article
Hit count: 123
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.
© Stack Overflow or respective owner