UIDropSession incorrectly reports that it can't load videos

Originator:jordan
Number:rdar://32927866 Date Originated:07/22/2017
Status: Resolved:
Product: Product Version:
Classification: Reproducible:
 
If you invoke UIDropSession's canLoadObjectsOfClass:[NSURL class] and it has items whose itemProvider conforms to the kUTTypeMovie UTI - it returns NO when it should return YES.

You can prove this by invoking [(UIDragItem Instance).itemProvider loadItemForTypeIdentifier:(NSString *)kUTTypeURL options:nil completionHandler:^(NSURL *url, NSError *error) { /**/ }];

The data is cooerced into a NSURL which is what is expected, when you should be able to do this at the UIDropSession level with loadObjectsOfClass

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!