Skip to content

Commit

Permalink
Merge pull request #265 from ariiyu/master
Browse files Browse the repository at this point in the history
Update README.md with shouldDismissPhotoPicker method
  • Loading branch information
tilltue authored Feb 26, 2020
2 parents 42add13 + 8d721fa commit 2ecaa15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,10 @@ class ViewController: UIViewController,TLPhotosPickerViewControllerDelegate {
self.present(viewController, animated: true, completion: nil)
}
//TLPhotosPickerViewControllerDelegate
func dismissPhotoPicker(withTLPHAssets: [TLPHAsset]) {
func shouldDismissPhotoPicker(withTLPHAssets: [TLPHAsset]) -> Bool {
// use selected order, fullresolution image
self.selectedAssets = withTLPHAssets
return true
}
func dismissPhotoPicker(withPHAssets: [PHAsset]) {
// if you want to used phasset.
Expand Down

0 comments on commit 2ecaa15

Please sign in to comment.