A lightweight framework that simulate WeiXin's image viewer use Objective-C.
If you are looking for Swift version, here it is FSImageViewer
use Xcode 7.0 to run the sample code.
- show local image view
- show remote image view with url
To integrate QKImageViewer into your Xcode project using CocoaPods, specify it in your Podfile
like download:
platform :ios, '8.0'
pod 'QKImageViewer', '~> 1.0'
Then, run the following command line in your terminal:
$ pod install
If you prefer not to use CocoaPods, you can integrate QKImageViewer into your project manually. Download the source code, and then drag the QKImageViewer/*.{h,m} into your project.
#import "QKImageViewer.h"
[[QKImageViewer sharedQKImageViewer] showImageView:image1 atPoint:image1.center];
QKImageViewer is released under the MIT license. See LICENSE for details.