What is didreceivememorywarning method in you viewcontroller?



What is didreceivememorywarning method in you viewcontroller?..

Answer / Abhishek Kumar Rai

The didReceiveMemoryWarning method is called by the system when it detects low memory conditions on a device. This method allows the view controller to release any unnecessary data or objects to help free up memory, thus improving the app's performance.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

What is ios viewwillappear?

1 Answers  


What is uiviewcontroller in ios?

1 Answers  


Explain the steps involved in submitting the App to App-Store in iOS operating system?

1 Answers   Winsol Solutions,


What is the difference between 'assign' and 'retain' keyword?

1 Answers  


What are “strong” and “weak” references? Why are they important and how can they be used to help control memory management and avoid memory leaks?

1 Answers  


Introduction to iphone application development?

1 Answers  


What are blocks in ios?

1 Answers  


What is difference between 'protocol' and 'delegate'?

1 Answers  


Do you know what is iphone reference library?

1 Answers  


What are the functions of managed object context?

1 Answers  


. Why an app on iOS device behaves differently when running in foreground than in background? 

1 Answers  


What is view controller xcode?

1 Answers  


Categories