ImagePickerPreviewCollectionCell
@MainActor
open class ImagePickerPreviewCollectionCell : UICollectionViewCell
图片选择器预览集合Cell
-
imageView内边距,默认zero占满
Declaration
Swift
@MainActor open var imageViewInsets: UIEdgeInsets
-
选中边框颜色,默认白色
Declaration
Swift
@MainActor open var checkedBorderColor: UIColor? { get set }
-
选中边框宽度,默认3
Declaration
Swift
@MainActor open var checkedBorderWidth: CGFloat { get set }
-
禁用时蒙层颜色
Declaration
Swift
@MainActor open var disabledMaskColor: UIColor? { get set }
-
当前是否选中
Declaration
Swift
@MainActor open var checked: Bool { get set }
-
当前是否禁用,默认NO
Declaration
Swift
@MainActor open var disabled: Bool { get set }
-
是否显示videoDurationLabel,默认YES
Declaration
Swift
@MainActor open var showsVideoDurationLabel: Bool { get set }
-
videoDurationLabel 的字号
Declaration
Swift
@MainActor open var videoDurationLabelFont: UIFont? { get set }
-
videoDurationLabel 的字体颜色
Declaration
Swift
@MainActor open var videoDurationLabelTextColor: UIColor? { get set }
-
视频时长文字的间距,相对于 cell 右下角而言,也即如果 right 越大则越往左,bottom 越大则越往上,另外 top 会影响底部遮罩的高度
Declaration
Swift
@MainActor open var videoDurationLabelMargins: UIEdgeInsets
-
已编辑图标
Declaration
Swift
@MainActor open var editedIconImage: UIImage? { get set }
-
视频图标
Declaration
Swift
@MainActor open var videoIconImage: UIImage? { get set }
-
图标视图边距
Declaration
Swift
@MainActor open var iconImageViewMargins: UIEdgeInsets
-
当前这个 cell 正在展示的 Asset 的 identifier
Declaration
Swift
@MainActor open var assetIdentifier: String?
-
缩略图视图
Declaration
Swift
@MainActor open lazy var imageView: UIImageView { get set }
-
蒙层视图
Declaration
Swift
@MainActor open lazy var coverView: UIView { get set }
-
左下角图标视图,默认判断显示editedIconImage和videoIconImage
Declaration
Swift
@MainActor open lazy var iconImageView: UIImageView { get set }
-
视频时长标签
Declaration
Swift
@MainActor open lazy var videoDurationLabel: UILabel { get set }
-
Undocumented
Declaration
Swift
@MainActor override public init(frame: CGRect)
-
Undocumented
Declaration
Swift
@MainActor public required init?(coder: NSCoder)
-
Undocumented
Declaration
Swift
@MainActor override open func layoutSubviews()
-
渲染Asset
Declaration
Swift
@MainActor open func render(asset: Asset, referenceSize: CGSize)