Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let vc = BSImagePickerViewController()
- vc.maxNumberOfSelections = 5
- self.bs_presentImagePickerController(vc, animated: true, select: { (asset: PHAsset) -> Void in
- print("Selected: (asset)")
- }, deselect: { (asset: PHAsset) -> Void in
- print("Deselected: (asset)")
- }, cancel: { (assets: [PHAsset]) -> Void in
- print("Cancel: (assets)")
- }, finish: { (assets: [PHAsset]) -> Void in
- print("Finish: (assets)")
- }, completion: nil)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement