项目作者: Tovkal

项目描述 :
Simple full screen UIImageView viewer, can be dismissed with a tap or flick
高级语言: Swift
项目地址: git://github.com/Tovkal/ImageViewer.git
创建时间: 2017-06-08T18:29:13Z
项目社区:https://github.com/Tovkal/ImageViewer

开源协议:MIT License

下载


Simple full screen UIImage viewer

Installation

Carthage

Simply add the dependency to your Cartfile

  1. github "Tovkal/ImageViewer"

then carthage update and add it to your project.

Cocoapods

Add the following to your Podfile

  1. pod 'ImageViewer', :git => 'https://github.com/tovkal/ImageViewer'

Usage

Simply pass the UIImageView you want to display and the VC presenting ImageViewer, where the imageView is currently displayed.

  1. ImageViewer.showImage(imageView: imageView, presentingVC: self)