Popularity
1.1
Stable
Activity
0.0
Stable
26
3
5

Programming language: Swift
License: MIT License
Tags: Media     Image    
Latest version: v1.2.1

AZImagePreview alternatives and similar libraries

Based on the "Image" category.
Alternatively, view AZImagePreview alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of AZImagePreview or a related project?

Add another 'Image' Library

README

AZImagePreview

iOS Framework that makes it easy to preview images on any UIImageView.

Screenshots

Installation:

Cocoa Pods:

pod 'AZImagePreview'

Manual:

Simply drag and drop the Sources folder to your project.

Conform to the AZPreviewImageViewDelegate protocol:


extension ViewController: AZPreviewImageViewDelegate{
    func previewImageViewInRespectTo(_ previewImageView: UIImageView) -> UIView? {
        //return self.view or self.navigationController?.view (if you are using a navigation controller.
        return view
    }

    func previewImageView(_ previewImageView: UIImageView, requestImagePreviewWithPreseneter presenter: AZImagePresenterViewController) {
        present(presenter, animated: false, completion: nil)
    }
}

Set the delegate on the UIImageView:


@IBOutlet weak var imageView: UIImageView!

override func viewDidLoad(){
    super.viewDidLoad()

    imageView.delegate = self
}