Localized Error Messages missing in WKWebView
| Originator: | winkelsdorf | ||
| Number: | rdar://22818481 | Date Originated: | 09/23/2015 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 8.x and 9.0 |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: Using a WKWebView in a multi-language App Errors handled through func webView(webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: NSError) are not localized when retrieving error.localizedDescription. Steps to Reproduce: Create a non English-App (e.g. German), running under a German iOS Device. Use WKWebView and implement didFailProvisionalNavigation. Navigate to a URL which is unavailable (e.g. http://sdjfhka.adkfh) Expected Results: error.localizedDescription should return a localized, human-readable description for WKWebView like UIWebView does. Actual Results: error.localizedDescription is always in English. Version: iOS 9.0 13A340 Notes: Configuration: iPhone Simulators Attachments:
Comments
Please note: 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!
iOS 10
This problem still exists in iOS 10.