RNSphereImageViewer
此库可以观看球形图像。
GIF 动画
YouTube
https://www.youtube.com/watch?v=crqeokiwsfc
功能
- 支持 2 镜头图像,例如 THETA。
- https://theta360.com/
- 简单易用。
如何使用
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)
运行时要求
- iOS 11
- Swift 5
安装和设置
支持 CocoaPods
pod 'RNSphereImageViewer', '~> 3.0'
授权
MIT 许可证
注意
我是一个日本程序员,所以在用英语写作时有一些困难。你可能会发现一些错误或错别字,但请对我的反馈友好。
感谢您的支持和善意的态度。