SKPanoramaView 0.1.2

SKPanoramaView 0.1.2

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jun 2016

Maintained by Sachin Kesiraju.



Create beautiful animated panorama views. Inspired by the intro on the LinkedIn iOS app.

Features

  • Adapts to any image - Automatically sets the panorama view based on the dimensions of the image.
  • Super easy to implement - Just 3 lines of code required.

Perfect for intro views or background views.

Installation

Simply add the 'SKPanoramaView' folder into your project and import "SKPanoramaView.h" and you're good to go.

Implementation

SKPanoramaView is super easy to implement. Just add the following lines of code to your view and you're done!

    SKPanoramaView *panoramaView = [[SKPanoramaView alloc] initWithFrame:self.view.frame image:[UIImage imageNamed:@"golden gate"]];
    [self.view addSubview:panoramaView];
    [panoramaView startAnimating];

Optionally, you can set the animation duration of the view as follows:

panoramaView.animationDuration = 15.0f; //15 seconds (Default: 10s)

For more help on how to do this, check out the Demo .

License

SKPanoramaView is available under the MIT License. For more information, see the LICENSE file.