meno
meno

Reputation: 21

is there reasons why this code won't work on iphone and will on ipad?

the code is:

if(CGRectIntersectsRect(icon1.frame, pig.frame) && icon1.image == [UIImage        imageNamed:@"BerryBlueberryIphone.png"]){

}

the code works in ipad but not iphone. spelling is correct for png file i can't seem to find out why it does not work. it was working before on all devices but i don't know if after updating Xcode there my be a setting affecting the line of code.

if more info is needed please let me know. would really like to figure this out today.

Upvotes: 0

Views: 34

Answers (0)

Related Questions