平常在simulator上可以使用從"Hardware -> Simulator Memory Warning",Device上可以使用以下這串code來模擬
[[UIApplication sharedApplication] performSelector:@selector(_performMemoryWarning)];
[[UIApplication sharedApplication] performSelector:@selector(_performMemoryWarning)];
by Isken Huang - 11/06/2012 - iOS
沒有留言:
張貼留言