/CLPhotoCrop

CLPhotoCrop

Primary LanguageObjective-CMIT LicenseMIT

CLPhotoCrop

CI Status Version License Platform

Example

  • 导入头文件
  #import "CLPhotoCrop.h"
  • 跳转
  CLPhotoShopViewController *vc = [[CLPhotoShopViewController alloc] init];
  vc.orgImage = [UIImage clp_imageNamed:@"bg"];
  vc.delegate = self;
  [self presentViewController:vc animated:true completion:nil];
  • 代理
  ///CLPhotoShopViewControllerDelegate
  - (void)CLPhotoShopViewControllerFinishImage:(UIImage *)image {
    self.imageView.image = image;
  }

Installation

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

pod 'CLPhotoCrop'

Author

leiyuyu, leiyuyu1993@163.com

License

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