-
Notifications
You must be signed in to change notification settings - Fork 7
ADAssetSelectOptions
Options to control the asset select condition and ui.
public struct ADAssetSelectOptions: OptionSet OptionSet
public init(rawValue: Int) public let rawValue: IntWhether photos and videos can be selected together.
public static let mixSelect Allow select Gif, it only controls whether it is displayed in Gif form.
public static let selectAsGif Allow select LivePhoto, it only controls whether it is displayed in LivePhoto form.
public static let selectAsLivePhoto You can slide select photos in album.
public static let slideSelect If slideSelect contain, Will auto scroll to top or bottom when your finger at the top or bottom.
public static let autoScroll Allow take photo asset in the album.
public static let allowTakePhotoAsset Allow take video asset in the album.
public static let allowTakeVideoAsset Show the image captured by the camera is displayed on the camera button inside the album.
public static let captureOnTakeAsset If user choose limited Photo mode, a button with '+' will be added. It will call PHPhotoLibrary.shared().presentLimitedLibraryPicker(from:) to add photo.
@available(iOS 14, *)
public static let allowAddAsset iOS14 limited Photo mode, will show collection footer view in ADThumbnailViewController. Will go to system setting if clicked.
@available(iOS 14, *)
public static let allowAuthTips Allow access to the browse large image interface (That is, whether to allow access to the large image interface after clicking the thumbnail image).
public static let allowBrowser Allow toolbar in thumbnail controller.
public static let thumbnailToolBar Default options.
public static let `default`: ADAssetSelectOptions = [.mixSelect,.slideSelect,.autoScroll,.allowTakePhotoAsset,.thumbnailToolBar,.allowBrowser]Options do not allow mix select.
public static let exclusive: ADAssetSelectOptions = [.slideSelect,.autoScroll,.allowTakePhotoAsset,.thumbnailToolBar,.allowBrowser]Generated at 2022-03-28T09:06:08+0000 using swift-doc 1.0.0-rc.1.
Types
- ADAddPhotoCell
- ADAddPhotoCell.Key
- ADAlbumListCell
- ADAlbumListCell.Key
- ADAlbumListController
- ADAlbumListDataSource
- ADAlbumModel
- ADAlbumSelectOptions
- ADAlbumType
- ADAsset
- ADAssetBrowserController
- ADAssetBrowserDataSource
- ADAssetBrowserOptions
- ADAssetListDataSource
- ADAssetModel
- ADAssetModel.MediaType
- ADAssetModel.SelectStatus
- ADAssetResult
- ADAssetSelectOptions
- ADBrowserToolBarCell
- ADBrowserToolBarCell.Key
- ADCameraCell
- ADCameraCell.Key
- ADClipInfo
- ADConstraintParams
- ADImageEditController
- ADImageEditInfo
- ADImageEditTools
- ADImageSource
- ADImageStickerContentView
- ADImageStickerDataSource
- ADImageStickerDataSource.StickerItem
- ADImageStickerDataSource.StickerSection
- ADInteractStrategy
- ADInteractType
- ADInteractZIndex
- ADLocale
- ADLocale.LocaleKey
- ADPhotoKitConfig
- ADPhotoKitConfiguration
- ADPhotoKitConfiguration.ThumbnailControllerLayout
- ADPhotoKitUI
- ADPhotoManager
- ADPhotoManager.AssetResultType
- ADPhotoSelectParams
- ADPickerStyle
- ADRotation
- ADSelectAssetModel
- ADStickerContentView
- ADStickerInteractView
- ADTextSticker
- ADTextSticker.Style
- ADThumbnailListCell
- ADThumbnailListCell.Appearance
- ADThumbnailListCell.Key
- ADThumbnailListCell.State
- ADThumbnailViewController
- ADVideoSource
Protocols
- ADAlbumListCellConfigurable
- ADAlbumListNavBarConfigurable
- ADAlertConfigurable
- ADAssetBrowsable
- ADBrowserCellConfigurable
- ADBrowserNavBarConfigurable
- ADBrowserToolBarConfigurable
- ADDataSourceReloadable
- ADImageBrowserCellConfigurable
- ADImageClipConfigurable
- ADImageEditTool
- ADImageEditToolCodable
- ADImageStickerSelectConfigurable
- ADProgressConfigurable
- ADProgressHUDConfigurable
- ADSourceImageEditable
- ADSourceImageModify
- ADTextStickerEditConfigurable
- ADThumbnailCellConfigurable
- ADThumbnailNavBarConfigurable
- ADThumbnailToolBarConfigurable
- ADToolConfigable
- ADToolInteractable
- ADVideoBrowserCellConfigurable
Global Typealiases
- ADAlbumListCellable
- ADAlbumListNavBarable
- ADBrowserCellable
- ADBrowserNavBarable
- ADBrowserToolBarable
- ADClipingInfo
- ADImageBrowserCellable
- ADImageClipable
- ADImageStickerSelectable
- ADProgressHUDable
- ADProgressableable
- ADTextStickerColor
- ADTextStickerEditable
- ADThumbnailCellable
- ADThumbnailNavBarable
- ADThumbnailToolBarable
- ADVideoBrowserCellable