hide background image after swtiching

This commit is contained in:
Feather
2013-04-18 19:12:29 +08:00
parent 2020a03241
commit a3cd24cde5

View File

@@ -152,6 +152,8 @@
[self.backgroundView addSubview:blackMask];
}
self.backgroundView.hidden = NO;
if (lastScreenShotView) [lastScreenShotView removeFromSuperview];
UIImage *lastScreenShot = [self.screenShotsList lastObject];
@@ -180,6 +182,7 @@
[self moveViewWithX:0];
} completion:^(BOOL finished) {
_isMoving = NO;
self.backgroundView.hidden = YES;
}];
}
@@ -191,6 +194,7 @@
[self moveViewWithX:0];
} completion:^(BOOL finished) {
_isMoving = NO;
self.backgroundView.hidden = YES;
}];
return;