CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
Click here to see it in action
UIViewController subclass that lets you fullscreen an UIImageView. Assuming self is your UIViewController subclass and imageView is the UIImageView you want to fullscreen. Just do:
GGFullscreenImageViewController *vc = [[GGFullscreenImageViewController alloc] init];
vc.liftedImageView = imageView;
[self presentViewController:vc animated:YES completion:nil];
You can optionally set supportedOrientations on GGFullscreenImageViewController. By default, GGFullscreenImageViewController supports all orientations defined in your info-plist. GGFullscreenImageViewController also provides a UIScrollView to allow zooming.
You should set imageView.contentMode = UIViewContentModeScaleAspectFit for best results.