iOS开发中怎么响应内存警告 [superdidReceiveMemoryWarning];} //处理内存警告 -(void)handleMemoryWarning { NSLog(@”ViewController中handleMemoryWarning调用“); qixiang0 2015-02-09 14:17:32
iOS开发那些事-响应内存警告 在iOS中我们可以在应用程序委托对象、视图控制器以及其它类中获得系统内存警告消息。AppDelegate的代码片段: 2、视图控制器 在视图控制器中接收内存警告消息,需要重写didReceiveMemoryWarning方法。 IOSPanPan 2013-02-11 05:35:53