Also would anybody tell me what’s the difference between viewDidUnload and dealloc?
Also would anybody tell me what’s the difference between viewDidUnload and dealloc?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, it could be unloaded if a memory warning occurs.
As for the difference between viewDidUnload and dealloc – the former is called when your view is unloaded, typically because of a low memory situation. The latter is called when your object’s retain count reaches zero (i.e. it is completely released from memory)