Skip to content

Customize screens

Compare
Choose a tag to compare
@s4cha s4cha released this 08 Feb 18:57
· 759 commits to master since this release

Replaces showsVideo by more versatile screens api.

public var screens: [YPPickerScreen] = [.library, .photo]

Usage

...
config.screens =  [.library, .photo, .video] // show video as well
...
config.screens =  [.photo] // .photo only

Shout out to @ChintanWeapp & @eddieespinal for initiating the idea 👏