Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.71 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.71 KB

CHWImageEditorView

CI Status Version License Platform

crop crop crop crop crop

Example

You can use the CHWCropRotateView in your project, how to use the CHWCropRotateView ,you can find the detail in my example project.

CropRotateConfig* config = [CropRotateConfig new];// the default config, you can create your config model.
CHWCropRotateView* cropRotateView = [[CHWCropRotateView alloc] initWithImage:image withConfig:config];
cropRotateView.frame = CGRectMake(0, 0, CGRectGetWidth(self.view.bounds), CGRectGetHeight(self.view.bounds)-TABBARHEIGHT-60-60);
cropRotateView.forceFixedRatio = NO;
cropRotateView.delegate = self;
[self.view addSubview:cropRotateView];

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

Requirements

Installation

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

pod 'CHWImageEditorView'

Author

JackyHeWei, [email protected]

License

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