FWImagePickerCollectionCell
@interface FWImagePickerCollectionCell : UICollectionViewCell
图片选择空间里的九宫格 cell,支持显示 checkbox、饼状进度条及重试按钮(iCloud 图片需要)
-
checkbox 未被选中时显示的图片
Declaration
Objective-C
@property (nonatomic, strong) UI_APPEARANCE_SELECTOR UIImage *checkboxImage;
-
checkbox 被选中时显示的图片
Declaration
Objective-C
@property (nonatomic, strong) UI_APPEARANCE_SELECTOR UIImage *checkboxCheckedImage;
-
checkbox 的 margin,定位从每个 cell(即每张图片)的最右边开始计算
Declaration
Objective-C
@property (nonatomic) UIEdgeInsets checkboxButtonMargins;
-
禁用时蒙层颜色
Declaration
Objective-C
@property (nonatomic, strong, nullable) UIColor *disabledMaskColor;
-
选中时蒙层颜色
Declaration
Objective-C
@property (nonatomic, strong, nullable) UIColor *checkedMaskColor;
-
蒙层视图
Declaration
Objective-C
@property (nonatomic, strong, readonly) UIView *_Nonnull maskView;
-
videoDurationLabel 的字号
Declaration
Objective-C
@property (nonatomic, strong) UI_APPEARANCE_SELECTOR UIFont *videoDurationLabelFont;
-
videoDurationLabel 的字体颜色
Declaration
Objective-C
@property (nonatomic, strong) UI_APPEARANCE_SELECTOR UIColor *videoDurationLabelTextColor;
-
视频时长文字的间距,相对于 cell 右下角而言,也即如果 right 越大则越往左,bottom 越大则越往上,另外 top 会影响底部遮罩的高度
Declaration
Objective-C
@property (nonatomic) UIEdgeInsets videoDurationLabelMargins;
-
左下角图标视图,默认判断显示editedIconImage和videoIconImage
Declaration
Objective-C
@property (nonatomic, strong, readonly) UIImageView *_Nonnull iconImageView;
-
Undocumented
Declaration
Objective-C
@property(nullable, nonatomic, strong) UIImage *editedIconImage
-
Undocumented
Declaration
Objective-C
@property(nullable, nonatomic, strong) UIImage *videoIconImage
-
Undocumented
Declaration
Objective-C
@property(nonatomic, assign) UIEdgeInsets iconImageViewMargins
-
checkedIndexLabel 的字号
Declaration
Objective-C
@property (nonatomic, strong) UI_APPEARANCE_SELECTOR UIFont *checkedIndexLabelFont;
-
checkedIndexLabel 的字体颜色
Declaration
Objective-C
@property (nonatomic, strong) UI_APPEARANCE_SELECTOR UIColor *checkedIndexLabelTextColor;
-
checkedIndexLabel 的尺寸
Declaration
Objective-C
@property (nonatomic) CGSize checkedIndexLabelSize;
-
checkedIndexLabel 的 margin,定位从每个 cell(即每张图片)的最右边开始计算
Declaration
Objective-C
@property (nonatomic) UIEdgeInsets checkedIndexLabelMargins;
-
checkedIndexLabel 的背景色
Declaration
Objective-C
@property (nonatomic, strong) UI_APPEARANCE_SELECTOR UIColor *checkedIndexLabelBackgroundColor;
-
是否显示checkedIndexLabel,大小和checkboxButton保持一致
Declaration
Objective-C
@property (nonatomic) BOOL showsCheckedIndexLabel;
-
是否显示videoDurationLabel,默认YES
Declaration
Objective-C
@property (nonatomic) BOOL showsVideoDurationLabel;
-
Undocumented
Declaration
Objective-C
@property(nonatomic, strong, readonly) UIImageView *contentImageView
-
Undocumented
Declaration
Objective-C
@property(nonatomic, strong, readonly) UIButton *checkboxButton
-
Undocumented
Declaration
Objective-C
@property(nonatomic, strong, readonly) UILabel *videoDurationLabel
-
Undocumented
Declaration
Objective-C
@property(nonatomic, strong, readonly) UILabel *checkedIndexLabel
-
Undocumented
Declaration
Objective-C
@property(nonatomic, assign, getter=isSelectable) BOOL selectable
-
Undocumented
Declaration
Objective-C
@property(nonatomic, assign, getter=isChecked) BOOL checked
-
Undocumented
Declaration
Objective-C
@property(nonatomic, assign) BOOL disabled
-
Undocumented
Declaration
Objective-C
@property(nonatomic, assign) NSInteger checkedIndex
-
Undocumented
Declaration
Objective-C
@property(nonatomic, assign) FWAssetDownloadStatus downloadStatus
-
Undocumented
Declaration
Objective-C
@property(nonatomic, copy, nullable) NSString *assetIdentifier
-
Undocumented
Declaration
Objective-C
- (void)renderWithAsset:(FWAsset *)asset referenceSize:(CGSize)referenceSize;