• Stars
    star
    157
  • Rank 238,399 (Top 5 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 11 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

fullscreen any UIImageView

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.