I finished building a small app with audio, clicking “next” button will play a sound and take me to the next page, clicking “back” will play a sound and take me back to the previous page. But if I do the next, back twice, the simulator crashes and I receive the below message from the log. Anyone can help please, cheers.
the message is: * Thread1: Programme received signal: “EXC_BAD_ACCESS” *
while the code does compile well and I can turn the pages (41 in total).
I finished building a small app with audio, clicking next button will play a
Share
This error is most always caused by trying to call a method on an object that has already been deallocated. One way to diagnose this issue is to use the Zombies template in Instruments. It will give you a dialog (with the call stack) when you message a deallocated object. No matter what the exact cause, this is most certainly related to your memory management.