---
title: "ViewController's viewDidUnload method deprecated in iOS 6"  
description: "ViewController's viewDidUnload method deprecated in iOS 6"  
author: "Anonymous User"  
published: 2015-11-24  
updated: 2015-11-24  
canonical: https://www.mindstick.com/forum/33628/viewcontroller-s-viewdidunload-method-deprecated-in-ios-6  
category: "iphone"  
tags: ["iphone", "ios", "objective c"]  
reading_time: 1 minute  

---

# ViewController's viewDidUnload method deprecated in iOS 6

I was creating an app in [iOS](https://www.mindstick.com/articles/12222/core-data-and-how-to-use-it-in-ios-objective-c) 6 and using viewDidUnload [method](https://www.mindstick.com/forum/166/webservice-method), I saw a [warning](https://answers.mindstick.com/blog/77/psychological-risks-of-ai-chatbots-what-experts-are-warning-about) [message](https://www.mindstick.com/forum/12802/show-confirmation-message-yes-or-no-in-asp-dot-net) that says viewDidUnload method is [deprecated](https://www.mindstick.com/forum/972/deprecated-as-a-property-in-sencha-touch) in iOS 6.\
So, [now](https://yourviews.mindstick.com/view/81402/it-s-liberals-vs-progressives-in-us-politics-now) my [question](https://www.mindstick.com/blog/23175/how-to-solve-neet-question-paper-in-less-time) is that if viewDidUnload method is deprecated then which method is used in [replacement](https://www.mindstick.com/blog/11708/google-pixel-and-its-quick-screen-replacement) of that method.\
Please help me.

## Replies

### Reply by Tarun Kumar

For your question's short answer is that according to the iOS 6 viewDidUnload documentation views are no longer purged under the lowMemory conditions so **viewDidUnload** method is never be called.\
So there is no need assign nil of your outlet references. there is another method that is **didReceiveMemoryWarning** for clearing of caches, releasing of easily recreated model data,etc; So you probably dont require any code for releasing outlet references.


---

Original Source: https://www.mindstick.com/forum/33628/viewcontroller-s-viewdidunload-method-deprecated-in-ios-6

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
