Simulated low memory warning not working

前端 未结 1 494
Happy的楠姐
Happy的楠姐 2021-01-07 13:32

I have a UIWebView in a UIViewController. I am trying to push this view controller to an existing UINavigationController, that has ano

相关标签:
1条回答
  • 2021-01-07 14:35

    Under a low memory condition under iOS 5.x or earlier, a view controller's view may be unloaded. Then when it needs to be loaded again, the view controller's viewDidLoad will be called after the view is put back in place. Make sure you are doing the right things in viewDidLoad and viewDidUnload to handle this case.

    0 讨论(0)
提交回复
热议问题