Skip to content

ADAlbumSelectOptions

duzexu edited this page Nov 15, 2021 · 3 revisions

ADAlbumSelectOptions

Options to set the album type and order.

public struct ADAlbumSelectOptions: OptionSet 

Inheritance

OptionSet

Initializers

init(rawValue:)

public init(rawValue: Int) 

Properties

rawValue

public let rawValue: Int

ascending

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

public static let ascending 

allowImage

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

public static let allowImage 

allowVideo

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

public static let allowVideo 

`default`

Default options.

public static let `default`: ADAlbumSelectOptions = [.allowImage, .allowVideo]
Types
Protocols
Global Typealiases
Operators
Extensions
Clone this wiki locally