//
//  SLOpenImagePicker.h
//  SLAiELTS
//
//  Created by Gusont on 2023/3/15.
//

#import <Foundation/Foundation.h>


NS_ASSUME_NONNULL_BEGIN

typedef void(^SLImageUploadBlock)(NSString *imageUrl) ;

@interface SLImagePickerAndUpload : NSObject

@property (nonatomic, copy) SLImageUploadBlock uploadBlock;

@property (nonatomic, assign) BOOL isOriginImage;

@property (nonatomic, assign) BOOL isUploadHeadImage;

- (void)willShowActionSheet;

- (void)addPicwithCamera;

- (void)addPicWithPhotoLibrary;

@end

NS_ASSUME_NONNULL_END
