Home

Awesome

YXTMotionView

A custom image view that implements device motion scrolling

Installation

CocoaPods

platform :ios
pod 'YXTMotionView'
...

Source files

Just clone this repository or download it in zip-file. Then you will find source files under YXTMotionView directory. Copy them to your project.

Usage

#import "YXTMotionView.h"
YXTMotionView *motionView = [[CRMotionView alloc] initWithFrame:self.view.bounds];
[motionView setImage:[UIImage imageNamed:@"Image"]];
[self.view addSubview:motionView];

Screenshot

screenshot

Requirements

Contributing

Anyone who would like to contribute to the project is more than welcome.

License

YXTMotionView is released under the MIT license.

Based on

CRMotionView

Contact

Hanton Yang (hanton.yang@gmail.com)