Created
June 29, 2020 10:11
-
-
Save rogerluan/9443bb83d744c97f24c7a1930528c0be to your computer and use it in GitHub Desktop.
PHPickerViewController configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var configuration = PHPickerConfiguration() | |
configuration.filter = .images | |
configuration.selectionLimit = 0 | |
let picker = PHPickerViewController(configuration: configuration) | |
picker.delegate = self | |
present(picker, animated: true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment