Skip to content

Commit

Permalink
#84 flip background color change? Better impl for iOS as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Oct 29, 2015
1 parent d08b7d0 commit 22e3db4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ios/NativePageTransitions.m
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,9 @@ - (void) performFlipTransition {
options:animationOptions | UIViewAnimationOptionAllowAnimatedContent
animations:^{}
completion:^(BOOL finished) {
if (backgroundColor != nil) {
self.transitionView.superview.superview.backgroundColor = [UIColor blackColor];
}
CDVPluginResult* pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK];
[self.commandDelegate sendPluginResult:pluginResult callbackId:_command.callbackId];
}];
Expand Down

0 comments on commit 22e3db4

Please sign in to comment.