Latest 0.1.1
Homepage https://github.com/SRozhina/ModalImage
License MIT
Platforms ios 12.1
Frameworks UIKit
Authors

CI Status
Version
License
Platform

An easy to use library for fulscreen modal image presentation with zooming capability. Opened image could be dismissed by tap anywhere or swipe image too far from center. You could change background opacity and color, duration of showing, use or not bars stubs (see in examples).

Planned:

  • Implement image sharing
  • Horizontal orientation support
  • Carthage support

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

ModalImage is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'ModalImage'

Easy To Use

First of all add next import to your UIViewController

import ModalImage

and next call

showFullScreenImage(from: imageView)

And voila

Author

[email protected]

License

ModalImage is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "ModalImage",
    "version": "0.1.1",
    "summary": "ModalImage is for modal presenting images in an app.",
    "homepage": "https://github.com/SRozhina/ModalImage",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Sofia Rozhina": "[email protected]"
    },
    "source": {
        "git": "https://github.com/SRozhina/ModalImage.git",
        "tag": "0.1.1"
    },
    "swift_version": "4.2",
    "platforms": {
        "ios": "12.1"
    },
    "source_files": "ModalImage/**/*.{swift}",
    "resources": "ModalImage/**/*.{png,jpeg,jpg,storyboard,xib,xcassets}",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This