Files
mier_ios/SweetParty/Expand/YBKit/UIImage+UploadImage.h
2025-08-11 10:43:19 +08:00

25 lines
545 B
Objective-C
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// 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