An immersive, intuitive, motion-based way to explore high-quality panoramas and photos on an iOS device. Panorific is implemented in Swift.
- iOS 8.0+
- Xcode 7.0
- Skip this step if you're not using Storyboards. Drag a UIViewController from the Object Library onto the Storyboard and change its class to
PanorificViewController
in the Identity Inspector. Set the appropriate Auto Layout constraints. - In the presenting view controller's
prepareForSegue(_:sender:)
, set theimage
property of the appearingPanorificViewController
.
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
if segue.identifier == "ShowPanorificSegue" {
let destination = segue.destinationViewController as PanorificViewController
destination.image = UIImage(named: "BreathtakingImage")
}
}
Naji Dmeiri
Panorific is available under the MIT License. See the LICENSE file for more info.