关于释放资源,有时候不能太相信 POP了,
比如 之前添加的通知就没有给释放,
-(void)backAction:(id)sender
{
[imageDataArrremoveAllObjects];
imageIndex = 0;
[self.navigationControllerpopViewControllerAnimated:YES];
[[NSNotificationCenterdefaultCenter] removeObserver:self];
}
比如 之前添加的通知就没有给释放,
-(void)backAction:(id)sender
{
[imageDataArrremoveAllObjects];
imageIndex = 0;
[self.navigationControllerpopViewControllerAnimated:YES];
[[NSNotificationCenterdefaultCenter] removeObserver:self];
}