"viewController implementation of -viewDidUnload caused the view to be reloaded. This will adversely impact system performance."


low memory warning 시에 이런 메세지가 뜬다면, viewController 의 viewDidUnload 의 코드중에 view 를 다시 load 하게 만드는 코드가 존재하는 것이다.


self.view

self.tableView


이런식의 코드들은 view 를 다시 load 하게 만드므로 viewDidUnload 에는 넣지 말도록 하자.


+ Recent posts