nativescript-image-preview
by TJ VanToll | v0.1.0
A lightweight NativeScript plugin that wraps the JTSImageViewController CocoaPod.
npm i --save nativescript-image-preview

NativeScript Image Preview

A lightweight NativeScript plugin that wraps the JTSImageViewController CocoaPod.

Installation

tns install nativescript-image-preview

Usage

var imagePreview = require("nativescript-image-preview");
imagePreview.showImage("https://i.imgur.com/sKh7Z6R.png");

You can alternatively just use JTSImageViewController APIs documented on http://cocoadocs.org/docsets/JTSImageViewController/. This plugin makes them all available.