diff --git a/src/core/src/NISnapshotRotation.m b/src/core/src/NISnapshotRotation.m index 889955a47..c337e6a4a 100644 --- a/src/core/src/NISnapshotRotation.m +++ b/src/core/src/NISnapshotRotation.m @@ -124,7 +124,7 @@ - (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrie } self.frameBeforeRotation = rotationView.frame; - self.snapshotViewBeforeRotation = NISnapshotViewOfView(rotationView); + self.snapshotViewBeforeRotation = NISnapshotViewOfViewWithTransparency(rotationView); [containerView insertSubview:self.snapshotViewBeforeRotation aboveSubview:rotationView]; } @@ -146,7 +146,7 @@ - (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInte [UIView setAnimationsEnabled:NO]; - self.snapshotViewAfterRotation = NISnapshotViewOfView(rotationView); + self.snapshotViewAfterRotation = NISnapshotViewOfViewWithTransparency(rotationView); // Set the new frame while maintaining the old frame's height. self.snapshotViewAfterRotation.frame = CGRectMake(self.frameBeforeRotation.origin.x, self.frameBeforeRotation.origin.y,