Open ManueGE opened 8 years ago
BUMP, Having same issue!
Fixed by adding:
toVC.view.frame = [transitionContext finalFrameForViewController:toVC];
above if(self.goingForward)
in - (void)animateTransition:(id
Thanks, I'll give a try.
Having same issue :(
any other ideas?
in RMPZoomTransitionAnimator.m
in - (void)animateTransition:(id<UIViewControllerContextTransitioning>)transitionContext
method
if(![[UIApplication sharedApplication].keyWindow.subviews containsObject:toVC.view]) { [[UIApplication sharedApplication].keyWindow addSubview:toVC.view]; }
removing this line, fixes the invisible UINavigationBar issue for me.
Sorry, I have no enough time to maintain this project. It would be awesome if you could create pull request.
@mahmutpinarbasi Hi, Could you explain briefly to me why would we need to remove that part? I would really appreciate.
Hi @giabao0212, sorry for the late response
On line 87, destination viewcontroller's view is already added to container view by calling [containerView addSubview:toVC.view];
. So checking/adding it to keyWindow again is not necessary.
I have a problem using this library on a navigation controller with an opaque navigation bar. It seems the final frame is not calculated properly and the top side of the view is hidden by the navigation bar.
An example to reproduce this is just adding the following code in the
viewDidLoad
method in theNavigationController
class in the provided example:Any workaround for this?