This version of Astro is only compatible with Xcode 7.3

Image View Plugin

The image view plugin allows you to create a centered image view. This image view plugin can be combined with other plugins to place the image view inside other views or screens.

Sample Usage

ImageViewPlugin.init().then(function(imageView) {


ImageViewPlugin.init() #

Creates and returns an instance of the image view plugin that is used to make subsequent method calls.

setImagePath(path) #

Sets the image to be displayed, it will fill the screen horizontally and vertically. The callback will contain an error if the image fails to load.