Not getting didReceiveMemoryWarning when app is in the background

后端 未结 2 1166
伪装坚强ぢ
伪装坚强ぢ 2020-12-19 05:04

I\'m noticing that my view controllers aren\'t getting their didReceiveMemoryWarning methods called when my application is in the background state on the iPad s

2条回答
  •  無奈伤痛
    2020-12-19 05:34

    I don't think that is the case. I am able to access didReceiveMemoryWarning code while in background. Once system generates low memory signal than as a good citizen we should release the memory. This also helps our app from terminating by the system.

提交回复
热议问题