views:

365

answers:

2

Is it possible that there will still be leaks when running my app on an iPhone even if the simulator has absolutely none??

+1  A: 

If you run your app through Instruments, and there don't appear to be any memory leaks, you're probably okay. Make sure to thoroughly test the application, to cover as many scenarios and as much code as possible.

No software is perfect, so there's always a chance, but if you are thorough with testing, you should be fine.

Andy White
A: 

It is possible that some memory leaks to be present when tested on a real device. Since the firmware of the device is different than of the simulator, and also due to the fact that simulator is a software, that won't always be perfect as andy suggested, you have to test for memory leaks in the device itself before submitting. Simulator may not always catch all the memory leaks.

Nithin