Files
yinmeng-ios/xplan-ios/Base/Tool/SDPhotoBrowser/SDBrowserImageView.h

28 lines
694 B
C
Raw Normal View History

2021-09-23 18:38:33 +08:00
//
// SDBrowserImageView.h
// SDPhotoBrowser
//
// Created by aier on 15-2-6.
// Copyright (c) 2015年 GSD. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "SDWaitingView.h"
2023-08-29 17:54:23 +08:00
#import <SDWebImageFLPlugin/SDWebImageFLPlugin.h>
2021-09-23 18:38:33 +08:00
2023-08-29 17:54:23 +08:00
@interface SDBrowserImageView : FLAnimatedImageView <UIGestureRecognizerDelegate>
2021-09-23 18:38:33 +08:00
@property (nonatomic, assign) CGFloat progress;
@property (nonatomic, assign, readonly) BOOL isScaled;
@property (nonatomic, assign) BOOL hasLoadedImage;
- (void)eliminateScale; // 清除缩放
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder;
- (void)doubleTapToZommWithScale:(CGFloat)scale;
- (void)clear;
@end