DTPhotoViewerController
Example
Demo video: https://www.youtube.com/watch?v=ccvrV8UdUhE&feature=youtu.be
It is very easy to use DTPhotoViewerController, all you need to do is to get UIImageView and UIImage instances, then:
if let viewController = DTPhotoViewerController(referenceView: imageView, image: image) {
self.presentViewController(viewController, animated: true, completion: nil)
}
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Installation
DTPhotoViewerController is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "DTPhotoViewerController"
Author
Tung Vo, tung98.dn@gmail.com
License
DTPhotoViewerController is available under the MIT license. See the LICENSE file for more info.