标签:
#ifndef __OPTIMIZE__ #define OPEN_MEMORY_WARNING_TEST YES //打开内存警告测试开关 #endif
- (void)simulateMemoryWarning { if (OPEN_MEMORY_WARNING_TEST == NO) { return; } [[UIApplication sharedApplication] _performMemoryWarning]; }
[[MemoryWarningTest sharedInstance] simulateMemoryWarning];
标签:
原文地址:http://blog.csdn.net/nextstudio/article/details/44020651