I dont know why viewDidUnload is deprecated from ios6.Does it mean that xcode will automatically manages the deallocation of objects created and control the memory usage
Asked
Active
Viewed 3,631 times
5
-
1If you have a developer account, there's a video session in wwdc 2012 about iOS memory management stating clearly that viewDidUnload is going to be 'dismissed', leaving all the 'emergency' management to be managed in didReceiveMemoryWarning – Leonardo Mar 11 '13 at 08:27
1 Answers
4
It means that if you not using ARC you need to move objects releasing to dealloc
method from viewDidUnload
if you create application only for iOS 6 and higher.
Also look at this answer

Community
- 1
- 1

Artem Shmatkov
- 1,434
- 5
- 22
- 41
-
2You've always needed to do that without ARC, `viewDidUnload` was never a replacement for `dealloc`... – omz Mar 11 '13 at 08:16