iOS高仿微信图标编辑
2022-05-02 本文已影响0人
未央生
iOS高仿微信图标编辑
Installation
pod 'CLPhotoCrop'
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;
}
涂鸦

表情

文字

裁剪

马赛克画笔

模糊画笔

完成效果
