A image picker for iOS , written by Swift.
Specify "PhotoPicker" in your Cartfile:
github "teambition/PhotoPicker"
// use this to fetch what type album you want
public var assetCollectionSubtypes: [PHAssetCollectionSubtype]?
// if you want to select more than 1 photo, set it to true
public var allowMultipleSelection: Bool
func photoPickerController(controller: PhotoPickerController, didFinishPickingAssets assets: [PHAsset], needHighQualityImage: Bool)
func photoPickerControllerDidCancel(controller: PhotoPickerController)
func photoPickerController(controller: PhotoPickerController, shouldSelectAsset asset: PHAsset) -> Bool
func photoPickerController(controller: PhotoPickerController, didSelectAsset asset: PHAsset)
func photoPickerController(controller: PhotoPickerController, didDeselectAsset asset: PHAsset)
let photoPickerController = PhotoPickerController()
photoPickerController.delegate = self
presentViewController(photoPickerController, animated: true, completion: nil)
- QBImagePicker(This framework is written by Objective-C)
- Example app using Photos Framework(Apple PhotoKit Sample Code)
- iOS 8.0
- GrowingTextView is released under the MIT license. See LICENSE for details.
- Have a question? Please open an issue!