TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Jul 2015 |
Maintained by Konard Gnoinski.
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.
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];
iOS 8.0
YawImageViewer is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "YawImageViewer"
KonraCLAPP, [email protected]
If you need sth more to be implemented in that pod just let me know :)
YawImageViewer is available under the MIT license. See the LICENSE file for more info.