Both Application supports iTunes file sharing and Supports opening documents in place are set to YES on my Info.plist and I'm successfully able to download pdf files and store it on my app folder in Files application but the issue is when I'm trying to explore this PDF file it's directly open my app .. is there any way to avoid this and open normal preview ?
Here is how I'm creating the file :
FileManager.default.createFile(atPath: filePath, contents: pdfData, attributes: nil)