Open NorbertSzydlowski opened 9 years ago
HI,
I have got custom animation to set contentViewController. It is look like FlipFromRight contentView, close menu after.
My isue is wrong position of navigation bar when menu close. It is shown from top edge view instead 20px status bar height.
UINavigationController *navigationController = [self.storyboard instantiateViewControllerWithIdentifier:SORestaurantsNavigationControllerIdentifier];
[UIView transitionFromView:self.sideMenuViewController.contentViewController.view toView:navigationController.view duration:0.65f options:UIViewAnimationOptionTransitionFlipFromRight completion:^(BOOL finished){ [self closePaneMenu];
self.sideMenuViewController.contentViewController = navigationController; }];
HI,
I have got custom animation to set contentViewController. It is look like FlipFromRight contentView, close menu after.
My isue is wrong position of navigation bar when menu close. It is shown from top edge view instead 20px status bar height.
UINavigationController *navigationController = [self.storyboard instantiateViewControllerWithIdentifier:SORestaurantsNavigationControllerIdentifier];
[UIView transitionFromView:self.sideMenuViewController.contentViewController.view toView:navigationController.view duration:0.65f options:UIViewAnimationOptionTransitionFlipFromRight completion:^(BOOL finished){ [self closePaneMenu];