iphone - Will the -dealloc method be called upon application quit? -
Apple says that when it is finished in the coke-dialock, it will not be called correctly, will it not be called on the iPhone come into force? Yes, it does, if it is leaving the application, in some circumstances, Delok will not be called. For example, if there is anything in the application, it is too long or without any exception being thrown, the application will be left without Deloku.
It may be that never because the OS does cleaning the memory anyway. The easiest and fastest solution to find out will be to put a breakpoints on your main view controller's delok and see if it is said to quit the application.
I remember when I tried it once but I am not sure why this is the reason that you should try it yourself.
Comments
Post a Comment