123456789101112131415161718192021 |
- //
- // NSURL+ImageSize.h
- // MEISHI
- //
- // Created by CY on 2021/2/26.
- // Copyright © 2021 leo. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface NSURL (ImageSize)
- /// 根据宽度获取图片
- - (NSURL *)urlWithImageScale:(NSInteger)scale;
- // 从阿里云获取指定宽度的图片
- - (NSURL *)urlWithImageResize:(NSInteger)scale;
- @end
- NS_ASSUME_NONNULL_END
|