Skip to content

Instantly share code, notes, and snippets.

@urouro
Created September 16, 2013 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save urouro/6579973 to your computer and use it in GitHub Desktop.
Save urouro/6579973 to your computer and use it in GitHub Desktop.
IDMPhotoBrowser Usage Sample
IDMPhoto *photo = [IDMPhoto photoWithImage:self.floorImage.image];
IDMPhotoBrowser *browser = [[IDMPhotoBrowser alloc] initWithPhotos:[NSArray arrayWithObject:photo]
animatedFromView:self.floorImage];
browser.delegate = self;
browser.displayToolbar = NO;
browser.displayActionButton = NO;
browser.displayArrowButton = NO;
browser.displayCounterLabel = YES;
[self presentViewController:browser animated:YES completion:nil];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment