On IOS15 beta 8 (not sure of other versions) if I open a PDF from the Files App from a document stored in the One My iPad folder, then use the Open in... or Share button to send to my app, dataWithContentsOfURL always returns nil. Is this a known problem?
Not all the apps have a problem opening the file. Chrome has a problem but Apple Mail doesn't.
Thanks
data = [NSData dataWithContentsOfURL:url];