FWImagePreviewPluginImpl
@interface FWImagePreviewPluginImpl : NSObject <FWImagePreviewPlugin>
默认图片预览插件
-
单例模式
Declaration
Objective-C
@property (class, nonatomic, readonly) FWImagePreviewPluginImpl *_Nonnull sharedInstance;
-
自定义图片预览控制器句柄,默认nil时使用自带控制器,显示分页,点击图片|视频时关闭,present样式为zoom
Declaration
Objective-C
@property (nonatomic, copy, nullable) FWImagePreviewController *_Nonnull (^)(void) previewControllerBlock;
-
图片预览全局自定义句柄,show方法自动调用
Declaration
Objective-C
@property (nonatomic, copy, nullable) void (^) (__kindof FWImagePreviewController *_Nonnull __strong) customBlock;