Closed Mil0R closed 3 months ago
Ah, the reason it works in the sample is because the sample is a 4-inch app upscaled. :P
I got around it by adding self.view.frame = CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height);
to initWithImage:
, but I don't know where this should be properly done when presenting a full-screen view controller. I tried using Auto Layout, but it didn't make a difference.
+1'ing this with a visual aid. Thanks for the workaround, @devios1337!
I'm experiencing this as well. The sample app seems to work fine, but for some reason when I do the same thing in my app, the
TGRImageViewController
is iPhone 5 sized and docked to the top-right corner. The animation works properly, zooming to the full screen, but as soon as it finishes, jump to the incorrect size as the transition view is hidden.