Skip to content

jp-cen/iOS-Image-Presenter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

iOS-Image-Presenter

Instructions:

  1. Copy the methods into your base viewController Class viewImage:view:viewBounds: dismissImageView

  2. Add the following declarations to the header files UIImageView *popupImageView; UIView *popupImageViewContainer; CGRect savedRect;

  3. Add the UIScrollViewDelegate protocol to your viewController

  4. Copy the following methods into the viewController scrollViewDidEndZooming:withView:atScale:(float) viewForZoomingInScrollView:

  5. Call the viewImage:view:viewBounds class with the image, containerView and frame of the image when you want to present an image

Known Issues: Only supports portrait mode

About

Present images from a thumbnail/masked version to a full screen zoomable version with transitions. Similar to Path 2.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published