Skip to content

AckeeCZ/ACKImagePicker

Repository files navigation

ackee|ACKImagePicker

Build Version Carthage compatible License Platform

ACKImagePicker lets users choose multiple photos from different albums in their media library with a native-like appearance.

Installation

CocoaPods

ACKImagePicker is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "ACKImagePicker", "~> 0.4.0"

Carthage

You can also use Carthage. Specify this repo in your Cartfile:

github "AckeeCZ/ACKImagePicker" ~> 0.4.0

Usage

Simply initalize ACKImagePicker and present it:

let controller = ACKImagePicker()
present(controller, animated: true)

To receive selected images, you can set onImagesPicker callback:

controller.onImagesPicked = { images in
    showImagesInMyController()
    // Dismiss `ACKImagePicker`
    dismiss(animated: true)
}

You can also limit number of images that an user can select by setting:

controller.maximumNumberOfImages = 3

Author

Ackee team

License

ACKImagePicker is available under the MIT license. See the LICENSE file for more info.