ADPhotoKit Documentation

Structure ADAlbum​Select​Options

public struct ADAlbumSelectOptions: OptionSet  

Options to set the album type and order.

%201 ADAlbumSelectOptions ADAlbumSelectOptions OptionSet OptionSet ADAlbumSelectOptions->OptionSet

Conforms To

OptionSet

Initializers

init(raw​Value:​)

public init(rawValue: Int)  

Properties

raw​Value

public let rawValue: Int

ascending

public static let ascending  

If contain, assets will return with lastest time at last, if not, the results will revert. Default is not contain.

allow​Image

public static let allowImage  

If contain, results will have image assets. Default is contain.

allow​Video

public static let allowVideo  

If contain, results will have video assets. Default is contain.

`default`

public static let `default`: ADAlbumSelectOptions = [.allowImage, .allowVideo] 

Default options.