iOS高仿微信图标编辑

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;
  }

涂鸦

Simulator Screen Shot - iPhone 11 - 2022-05-02 at 13.42.58.png

表情

Simulator Screen Shot - iPhone 11 - 2022-05-02 at 13.43.13.png

文字

Simulator Screen Shot - iPhone 11 - 2022-05-02 at 13.43.48.png

裁剪

Simulator Screen Shot - iPhone 11 - 2022-05-02 at 13.43.54.png

马赛克画笔

Simulator Screen Shot - iPhone 11 - 2022-05-02 at 13.44.15.png

模糊画笔

Simulator Screen Shot - iPhone 11 - 2022-05-02 at 13.44.28.png

完成效果

Simulator Screen Shot - iPhone 11 - 2022-05-02 at 13.44.34.png
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容