SkillAgentSearch skills...

XLMediaZoom

UI controls to view an image or reproduce a video in fullscreen like Instagram does.

Install / Use

/learn @xmartlabs/XLMediaZoom
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

XLMediaZoom

<p align="left"> <a href="https://travis-ci.org/xmartlabs/XLMediaZoom"><img src="https://travis-ci.org/xmartlabs/XLMediaZoom.svg?branch=master" alt="Build status" /></a> <img src="https://img.shields.io/badge/platform-iOS-blue.svg?style=flat" alt="Platform iOS" /> <a href="https://developer.apple.com/swift"><img src="https://img.shields.io/badge/swift3-compatible-4BC51D.svg?style=flat" alt="Swift 3 compatible" /></a> <a href="https://github.com/Carthage/Carthage"><img src="https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat" alt="Carthage compatible" /></a> <a href="https://cocoapods.org/pods/XLActionController"><img src="https://img.shields.io/cocoapods/v/XLMediaZoom.svg" alt="CocoaPods compatible" /></a> <a href="https://raw.githubusercontent.com/xmartlabs/XLMediaZoom/master/LICENSE"><img src="http://img.shields.io/badge/license-MIT-blue.svg?style=flat" alt="License: MIT" /></a> </p>

By Xmartlabs SRL.

Introduction

XLMediaZoom is a library to display images and video in fullscreen with blur and zooming capabilities.

<img src="./README.gif" width="300"/>

Usage

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()

Requirements

  • iOS 9.0+
  • Xcode 8.0+

Getting involved

  • If you want to contribute please feel free to submit pull requests.
  • If you have a feature request please open an issue.
  • If you found a bug or need help please check older issues, FAQ and threads on StackOverflow (Tag 'XLMediaZoom') before submitting an issue..

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.

Examples

Follow these 3 steps to run Example project: Clone XLMediaZoom repository, open XLMediaZoom workspace and run the Example project.

Installation

Version 3.0.0 has been rewritten completely in swift3, if you still need Objective-C support please target v2.0.2

CocoaPods

CocoaPods is a dependency manager for Cocoa projects.

To install XLMediaZoom, simply add the following line to your Podfile:

pod 'XLMediaZoom', '~> 3.0'

Carthage

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

Author

Change Log

This can be found in the CHANGELOG.md file.

View on GitHub
GitHub Stars93
CategoryContent
Updated5mo ago
Forks15

Languages

Swift

Security Score

92/100

Audited on Oct 20, 2025

No findings