VSCylinderPanoramaViewer is an image viewer that allows you to view images as if they are inside a cylinder.
Add VSCylinderPanoramaViewer.swift to your project.
Simply create an instance of VSCylinderPanoramaViewer, set the image name and present the view controller.
let vc = VSCylinderPanoramaViewer()
vc.imageName = "photo"
self.presentViewController(vc, animated: true, completion: nil)
VSCylinderPanoramaViewer has the ability to pan and a single click will dismiss the viewer.
Image is provided by https://unsplash.com