FWZoomImageViewDelegate
@protocol FWZoomImageViewDelegate <NSObject>
FWZoomImageView事件代理
-
单击事件代理方法
Declaration
Objective-C
- (void)singleTouchInZoomingImageView:(nonnull FWZoomImageView *)zoomImageView location:(CGPoint)location;
-
双击事件代理方法
Declaration
Objective-C
- (void)doubleTouchInZoomingImageView:(nonnull FWZoomImageView *)zoomImageView location:(CGPoint)location;
-
长按事件代理方法
Declaration
Objective-C
- (void)longPressInZoomingImageView:(nonnull FWZoomImageView *)zoomImageView;
-
在视频预览界面里,由于用户点击了空白区域或播放视频等导致了底部的视频工具栏被显示或隐藏
Declaration
Objective-C
- (void)zoomImageView:(nonnull FWZoomImageView *)imageView didHideVideoToolbar:(BOOL)didHide;
-
自定义内容视图代理方法,contentView根据显示内容不同而不同
Declaration
Objective-C
- (void)zoomImageView:(nonnull FWZoomImageView *)imageView customContentView:(nonnull __kindof UIView *)contentView;
-
是否支持缩放,默认为 YES
Declaration
Objective-C
- (BOOL)enabledZoomViewInZoomImageView:(nonnull FWZoomImageView *)zoomImageView;