From 4cfb7e30660960f63120cd3fbbc62c14fb193d8a Mon Sep 17 00:00:00 2001 From: E L V I S <3lvis@users.noreply.github.com> Date: Wed, 9 Dec 2020 08:20:20 +0100 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index e608ebdc..e97c4ae2 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,17 @@ And when you call any delegate method that returns images, add in the first line let images = imageAssets ``` +## FAQ + +### Limiting selection to 1 item + +```swift +let config = Configuration() +config.allowMultiplePhotoSelection = false +let imagePicker = ImagePickerController(configuration: config) +imagePicker.delegate = self +``` + ## Installation **ImagePicker** is available through [CocoaPods](http://cocoapods.org). To install