WKWebView cannot load files using file:// URL protocol since iOS 8 beta 4 and 5
||Product Version:||iOS 8 beta 5|
WKWebView cannot load files using file:// URL protocol that is within the app sandbox since iOS 8 beta 4 and 5. This worked in beta 3, and still works in the iOS 8 beta simulators (all beta versions).
Steps to Reproduce:
1. Create a file in your Documents folder (or Library, or Library/Caches, or tmp, or even load something in your app bundle)
2. Load that file in WKWebView as a file:// URL
3. The file will not load and result in an error
WKWebView can load a file from a file URL from the app's sandbox (Documents, Library, Library/Caches, tmp, app bundle)
WKWebView will not load a file from a file URL from the app's sandbox (Documents, Library, Library/Caches, tmp, app bundle)
iOS 8 beta 5
I included a sample project demonstrating the issue. The sample project is also here: https://github.com/shazron/WKWebViewFIleUrlTest
Duplicate of 17761459 (Open) - as of Aug 21st 2014
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!