Closed realanalysis closed 8 years ago
I'll change
"maxLimitReachedMessage" = "You can select %ld photos";
to
"maxLimitReachedMessage" = "You can select %ld items";
What do you think?
it will be great, if you allow user to add their own message on the alert view. What do you think?
here is another problem, if user select one item, will you change items to item? 如果可以让dev自己填写自己想要的alert view message会比较好
Sounds good to me. 我会让用户去处理这种行为.
Now users can customize the process of didReachMaxLimit
via DKImagePickerControllerDefaultUIDelegate
:
The following code is the default implementation:
public func imagePickerControllerDidReachMaxLimit(imagePickerController: DKImagePickerController) {
UIAlertView(title: DKImageLocalizedStringWithKey("maxLimitReached"),
message: String(format: DKImageLocalizedStringWithKey("maxLimitReachedMessage"), imagePickerController.maxSelectableCount),
delegate: nil,
cancelButtonTitle: DKImageLocalizedStringWithKey("ok"))
.show()
}
hi, on video selection, you should display max videos limit reached instead of max photos limit reached