高效实用的iOS图片裁剪封装方案
@property (weak, nonatomic) IBOutlet TKImageView *tkImageView; - (void)viewDidLoad { _tkImageView.toCropImage = [UIImage imageNamed: @"test.jpg"]; _tkImageView.showMidLines = YES; _tkImageView.needScaleCrop = YES; _tkImageView.showCrossLines = YES; _tkImageView.cornerBorderInImage = NO; _tkImageView.cropAreaCornerWidth = 44; _tkImageView.cropAreaCornerHeight = 44; _tkImageView.minSpace = 30; _tkImageView.cropAreaCornerLineColor = [UIColor whiteColor]; _tkImageView.cropAreaBo
用户评论