Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
iOS 8 beta 2
Description
https://git-wip-us.apache.org/repos/asf/cordova-ios.git branch "wkwebview"
As of iOS 8 beta 2, you can't yet.
Filed radar:
rdar://problem/17423600
------
Summary:
When using UIWebView, you could intercept requests using NSURLProtocol. With the new WKWebView, NSURLProtocol does not intercept requests anymore.
This is useful for HTTP authentication, encryption of assets, etc.
Steps to Reproduce:
1. Use WKWebView
2. Instantiate a NSURLProtocol
3. Observe that you can't intercept the requests of the WKWebView
Expected Results:
Ability to intercept requests of a WKWebView using NSURLProtocol
Actual Results:
No ability to intercept requests of a WKWebView using NSURLProtocol
Version:
iOS 8 beta 2
Configuration:
iOS Simulator, iPad 2