iOS开发之头像裁剪
iOS开发之头像裁剪 // // CrapPhotoViewController.h // StupidFM // // Created by 寒竹子 on 15/6/18. // Copyright (c) 2015年 寒竹子. All rights reserved. // #import "ParentViewController.h" @class CrapPhotoViewController; @protocol CrapPhotoViewControllerDelegate <NSObject> // 点击确定完成图片裁剪的代理方法 - (void)imageCrap:(CrapPhotoViewController *)crapViewController didFinished:(UIImage*)editedImage; // 点击取消后的代理方法 - (void)imageCrapDidCancel:(CrapPhotoViewController *)crapViewController; @end @interface CrapPhotoViewController : ParentViewController @property (nonatomic, assign) NSInteger tag; @property (nonatomic, weak)