GC3DFlipTransitionStyleSegue icon indicating copy to clipboard operation
GC3DFlipTransitionStyleSegue copied to clipboard

The snapshot for sourceView is mistake when sourceViewController have navigationController

Open RoCry opened this issue 12 years ago • 2 comments

Before segue, the sourceViewController have a navigationBar, but while the segue the navigation missed.

RoCry avatar Jan 07 '13 04:01 RoCry

The source view controller is embedded in to the navigation controller. The navigation bar is part of the navigation controller and the segue class only takes a snapshot of the source view.

A way to fix this is to take a snapshot of the underlying window of the source view. I'm not a fan of doing this, but it might work.

GlennChiu avatar Jan 07 '13 22:01 GlennChiu

I modified flipViewController.sourceView to [[self.sourceViewController navigationController] view];

With that change it grabs the navigation controller along with everything in it.

AnthonyFaxlandez avatar Jan 08 '13 22:01 AnthonyFaxlandez