How to implement didReceiveMemoryWarning?

前端 未结 6 1887
一生所求
一生所求 2020-11-30 19:38

I have developed a simple location aware iPhone application which is functionally working very well to our expectations except in the low memory condition of the phone .

6条回答
  •  悲&欢浪女
    2020-11-30 20:07

    You could also release memory in didReceiveMemoryWarning, that you allocated for static variables in your classes. Because once the memory for static variables is allocated it'll not be freed during the application runs.

提交回复
热议问题