Posts

Post not yet marked as solved
3 Replies
5.6k Views
When try to read document folder from iphone WKWebView, getting the error saying 'Failed to load resource: The operation couldn’t be completed. Operation not permitted'.But working fine in iphone simulator but not in real device.Tested in iphone 6,iphone 8 plus.First, when i try to read igot the cors error(cross origin), i solved this by below code.[_webView.configuration.preferences setValue:@"true" forKey:@"allowFileAccessFromFileURLs"];Then, after sloving that, now am getting the 'Failed to load resource: The operation couldn’t be completed. Operation not permitted'. Not able to understand why operation not permitted. And not able to find any reference docs or references on this error.Any suggestions is highly appreciated..!!
Posted
by ayyan1.
Last updated
.