By Xmartlabs SRL.
XLMediaZoom is a library to display images and video in fullscreen with blur and zooming capabilities.
import XLMediaZoom //Initialize both your image and the mediaZoom view associated. let imageView = UIImageView(frame: CGRect(x: 0, y: 0, width: 240, height: 120)) let mediaZoom = MediaZoom(with: imageView, animationTime: 1, useBlur: true) //Add the mediaZoom view to your superView and show it. view.addSubview(mediaZoom) mediaZoom.show()
Before contribute check the CONTRIBUTING file for more info.
If you use XLMediaZoom in your app We would love to hear about it! Drop us a line on twitter.
Follow these 3 steps to run Example project: Clone XLMediaZoom repository, open XLMediaZoom workspace and run the Example project.
3.0.0 has been rewritten completely in swift3, if you still need Objective-C support please target
CocoaPods is a dependency manager for Cocoa projects.
To install XLMediaZoom, simply add the following line to your Podfile:
pod 'XLMediaZoom', '~> 3.0'
Carthage is a simple, decentralized dependency manager for Cocoa.
To install XLMediaZoom, simply add the following line to your Cartfile:
github "xmartlabs/XLMediaZoom" ~> 3.0
This can be found in the CHANGELOG.md file.