when the file failed to upload, pickingDidError is called for uploadModalDelegate and for pickerDelegate at the same moment. it results that pickerDelegate can not present anything to the current viewController (ex: UIAlertController) because this view is already busy to present a view :
Warning: Attempt to present <UIAlertController: 0x168ec600> on <FSPickerController: 0x1715fc00> while a presentation is in progress!
Solution: pickerDelegate called after the the upload view is dismiss properly
File:
FSPicker/FSPicker/Platforms/iOS/API/FSUploader.m
(line 572)when the file failed to upload,
pickingDidError
is called foruploadModalDelegate
and forpickerDelegate
at the same moment. it results thatpickerDelegate
can not present anything to the current viewController (ex: UIAlertController) because this view is already busy to present a view :Solution:
pickerDelegate
called after the the upload view is dismiss properlyWe can make a pull request if needed