i'm currently working on an ios project with some people, one of us decided to use ARC in a part of the app.
Unfotunatly, we are currently experiencing some crashes when coming back from background.
Here are the steps we follow to crash the application, we perform them with the ios-simulator:
- start the application
- get on a ViewController A (coded with ARC)
- get on a ViewController B (not coded with ARC -to be honest i don't know if it's relevant-)
- put the application in background.
- simulate a memory warning (thx to the simulator)
- start again the application, we'll be on the ViewController B
- go back on the Viewcontroller A
- the application crashes pointing the main function with an EXC_BAD_ACCESS
We did try to use NSZombieEnabled to YES, but when we do it, the application doesn't crash and keeps running perfectly, so we wonder if it might be possible that NSZombieEnabled doesn't work well with ARC?
if anyone could give me a quick and clear insight about ARC and NSZombieEnabled that would be apreciated, i think i know how all of it works, but apparently i must be missing something.
Thanks anyway for your help and time.