I have a problem on xcode. When my image(image1) collide with image2 I want to remove it with removefromsuperview but when I run my app there is an error ” EXC_BAD_ACCESS ” , I think it is due to removefromsuperview. How can I solve this ? sorry for my english I’m french :/
Share
This means the object you are calling removeFromSuperView does not exist, or was previously released.
Make sure you are sending the message to a valid object.