Quote:
Originally Posted by smasher
You only have one rock, myRock, right? you could remove it with [myRock removeFromSuperview] .
You probably just want to move it back to the top of the screen though, since you only have the one, right? If you remove it you have no rock on the screen.
|
Thats right. I only have one myRock on the screen, when one image floats and disappears another appears. If I add [myRock removeFromSuperview]; to the if(CGRectIntersectsRect) then when the images collide I get a EXC_BAD_ACCESS