Created
September 16, 2013 12:17
-
-
Save urouro/6579973 to your computer and use it in GitHub Desktop.
IDMPhotoBrowser Usage Sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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