Files
mier_ios/SweetParty/Expand/YBKit/UIImage+UploadImage.h

25 lines
545 B
C
Raw Normal View History

2025-08-11 10:43:19 +08:00
//
// UIImage+UploadImage.h
// app
//
// Created by binbins on 2019/4/2.
// Copyright © 2019 zhifanYoung. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIImage (UploadImage)
/// 把图片上传到服务器并返回url
/// @param finishBlock url 和 原始图片
- (void)uploadToServiceWithBlock:(void(^)(NSString *upUrl, UIImage *upImage))finishBlock;
//不显示上传提示
//- (void)uploadToServiceNoLoadingWithNoTipsWithBlock:(void(^)(NSString *url))finishBlock;
@end
NS_ASSUME_NONNULL_END