My code for ball going to end of bottom of screen and then regenerate back at top of screen...
if(ball.center.y >666){
ball.center=CGPointMake(ONE.center.x, -30);
In iPhone 6 simulator, the farthest the ball goes down is ball.center.y >585 and only then it regenerates. But how come it doesn't go all the way down to ball.center.y >666?
I have retina 4.7HD and retina 5.5HD launch images placed. Whether I use auto layout and size classes or no auto layout and no size classes the ball doesn't go lower than ball.center.y >585.
Please help, i don't know how to solve this problem.
Aucun commentaire:
Enregistrer un commentaire