Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Latest commit

 

History

History
20 lines (19 loc) · 1.17 KB

File metadata and controls

20 lines (19 loc) · 1.17 KB

FullScreenGallery

An objective-C class for viewing images in full screen with zooming and scrolling. Depends on the Parse framework.



Setup:
  1. Add and import the class files.
  2. Initialize the class with the original UIImage and the index of the image in the array of images it's contained in.
    • The image is used for the transition to full screen mode.
    • The index of the image is used to open the correct image.
  3. Set the objectArray property for the ImageFullScreenView instance. This is an array of PFObjects downloaded from the Parse framework.
  4. Set the objectImageURLKey property for the the ImageFullScreenView instance. This is a NSString property used to fetch the URL string for image associated with the PFObject.
  5. Call - (void)showOnView:(UIView *)baseView withOriginalImageViewFrame:(CGRect)originalFrame
    • baseView is the view on top of which the full screen image gallery is situated.
    • originalFrame is the The original UIImageView's frame that is used to animate the transition to full screen mode.