mirror of
https://github.com/zhigang1992/MultiLayerNavigation.git
synced 2026-01-12 22:49:04 +08:00
hide background image after swtiching
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user