PDF File Not Launching on WKWEbView in iOS Swift

103 Views Asked by At

I have downloaded pdf file from the Webservices and downloaded into Document Directory as shown below

file:///Users/iOS/Library/Developer/CoreSimulator/Devices/C4003255-3946-4AD1-FEFG-8B4D6EE70F65/data/Containers/Data/Application/S61AZ-051B-40AB-B7A1-B7FD37A2D3C3/Documents/Sample.pdf

While launching this path on WKWebView in iOS Simulator then it is working like pdf file showing all pages but While Launching this path in iOS Devices then im facing the issue is: "The operation couldn’t be completed. Operation not permitted".

How to fix this issue in iOS devices ?

is there any permission have to provide to devices ?

please fix this issue

0

There are 0 best solutions below