Show Image, and can pan and pinch the image. You can save effort to make ImageViewController.
- Show Image, and can pan and pinch the image.
Create FJSImageViewController
instance where you want.
let imageVC = FJSImageViewController()
imageVC.image = UIImage(named: "sample.jpg")
presentViewController(imageVC, animated: false, completion: nil)
- iOS8.0 or later
- Xcode 7.0 - Swift2.0
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
To integrate FJSImageViewController into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod 'FJSImageViewController'
Then, run the following command:
$ pod install
Just add to your Cartfile:
github "fuji2013/FJSImageViewController"
To install FJSAlertController without a dependency manager, please add FJSImageViewController.swift
to your Xcode Project.
Please file issues or submit pull requests for anything you’d like to see! We're waiting! :)
FJSImageViewController.swift is released under the MIT license. Go read the LICENSE file for more information.