管理内存

- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
if ([self isViewLoaded] && [self.view window] == nil) {
_maskview = nil;
self.view = nil;
[_tmptimer invalidate];
_tmptimer =nil;
}
}

你可能感兴趣的:(管理内存)