We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
可以设置限制的张数吗
The text was updated successfully, but these errors were encountered:
通过代理方法去控制
func assetsPickerController(_ picker: CTAssetsPickerController, didSelect asset: PHAsset) { imageCount += 1 } func assetsPickerController(_ picker: CTAssetsPickerController, didDeselect asset: PHAsset) { imageCount -= 1 } //是否可以选中 func assetsPickerController(_ picker: CTAssetsPickerController, shouldSelect asset: PHAsset) -> Bool { if imageCount >= 3 { return false } return true }
Sorry, something went wrong.
No branches or pull requests
可以设置限制的张数吗
The text was updated successfully, but these errors were encountered: