Heapshots show that objects are not released, and at the same time logs show that dealloc was called. i do release all properties and remove all superviews in dealloc. So why memory is still not released?
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.
If
deallocwas called, but the memory backing the object was not released, there are two possibilities:[super dealloc]at the end of your-dealloc(only applies to non-ARC code)