[go: up one dir, main page]

Skip to content

mothule/RNSphereImageViewer

Repository files navigation

RNSphereImageViewer

This library can watch a spherical image.

gif animation

rnsphereimageviewer_animation3

Youtube

https://www.youtube.com/watch?v=crqeokiwsfc

Features

How to use

let vc = RNSphereImageViewController()
vc.configuration = RNSIConfiguration()
let resourceName = "<input image file name.>"
let resourceType = "<input image file type.>"
let path = NSBundle.mainBundle().pathForResource(resourceName, ofType: resourceType)
vc.configuration.filePath = path
vc.configuration.fps = 60
self.navigationController?.pushViewController(vc, animated: true)

Runtime Requirements

  • iOS 11
  • Swift 5

Installation and Setup

Support CocoaPods

pod 'RNSphereImageViewer', '~> 3.0'

LICENSE

MIT License

Attention

I am a Japanese programmer, so I have some trouble writing in English. You may find a typo or mistake but just be nice with your feedback.

Thank you for your support and kindness.

About

This library can watch a spherical image.

Resources

License

Stars

Watchers

Forks

Packages

No packages published