Simple full screen UIImage viewer
Simply add the dependency to your Cartfile
github "Tovkal/ImageViewer"
then carthage update
and add it to your project.
Add the following to your Podfile
pod 'ImageViewer', :git => 'https://github.com/tovkal/ImageViewer'
Simply pass the UIImageView
you want to display and the VC presenting ImageViewer, where the imageView
is currently displayed.
ImageViewer.showImage(imageView: imageView, presentingVC: self)