Closed ihugang closed 8 years ago
Check the demo app and there is an example
for better user experience ,I suggest that setup a limit number, forbid users when they select photo.
Have you really check the sample code? It does what exactly you are talking about.
func assetsPickerController(picker: CTAssetsPickerController!, shouldSelectAsset asset: PHAsset!) -> Bool {
return picker.selectedAssets.count < 5 ? true : false
}
I want limit picker photo number, How can I do it ?