YawImageViewer 0.1.10

YawImageViewer 0.1.10

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jul 2015

Maintained by Konard Gnoinski.



  • By
  • KonraCLAPP

If you have a photo that is vertical and you would like to present it on iPhone horizontal screen, than YawImageViewer is what you are looking for! YawImageViewer is a view that implements Facebook Paper like effect for image browsing. After presenting that view user see only center of a photo, buy tilt movement user can see other parts of image.

http://youtu.be/1lPkNb1MWYk

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

After downloading a pod you can add it to your ViewController like that:

#import"KGTiltView.h"

@property (nonatomic, strong) KGTiltView* tiltView;


self.tiltView = [[KGTiltView alloc] initWithFrame:self.view.bounds image:[UIImage imageNamed:@"Image.jpg"]];
[self.tiltView setMotionEnabled:YES];
self.tiltView.yawTresholdLevel=[NSNumber numberWithDouble:0.07];
[self.view addSubview:self.tiltView];

Requirements

iOS 8.0

Installation

YawImageViewer is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "YawImageViewer"

Author

KonraCLAPP, [email protected]

Contribution

If you need sth more to be implemented in that pod just let me know :)

License

YawImageViewer is available under the MIT license. See the LICENSE file for more info.