ADPhotoKit Documentation

Structure ADAsset​Browser​Options

public struct ADAssetBrowserOptions: OptionSet  

Options to control the asset browser condition and ui.

%3 ADAssetBrowserOptions ADAssetBrowserOptions OptionSet OptionSet ADAssetBrowserOptions->OptionSet

Conforms To

OptionSet

Initializers

init(raw​Value:​)

public init(rawValue: Int)  

Properties

raw​Value

public let rawValue: Int

select​Original

public static let selectOriginal  

Allow select full image.

Identify whether the user selects the original image. If contains fetchImage, will fetch orginal image, otherwise return the screen-fit-size image.

select​Thumbnil

public static let selectThumbnil  

Display the selected photos at the bottom of the browse large photos interface.

select​Index

public static let selectIndex  

Display the index of the selected photos at navbar.

fetch​Image

public static let fetchImage  

Allow framework fetch image when callback.

`default`

public static let `default`: ADAssetBrowserOptions = [.selectOriginal, .selectThumbnil, .selectIndex, .fetchImage] 

Default options.