Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 837 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 837 Bytes

GGFullscreenImageViewController

Video

Click here to see it in action

How To Use

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.