// // gzhPhotoManager.h // 图片选择 // // Created by 郭志贺 on 2020/5/26. // Copyright © 2020 郭志贺. All rights reserved. // #import <Foundation/Foundation.h> #import "ViewController.h" NS_ASSUME_NONNULL_BEGIN @protocol BFPhotoManagerDelegate; @interface gzhPhotoManager : NSObject +(instancetype)instance; /// 选择图片 /// @param controller 当前控制器 /// @param target 代理 /// @param pSize 选择照片尺寸 尺寸传(0,0)不进行裁剪 - (void)selectPhotoWithController:(UIViewController *)controller delegate:(id)target size:(CGSize)pSize; @end @protocol gzhPhotoManagerDelegate <NSObject> - (void)selectedPhotoImage:(UIImage *)image; @end NS_ASSUME_NONNULL_END
iOS开发图片选择
内容版权声明:除非注明,否则皆为本站原创文章。