yeatse/NSURLProtocol-WebKitSupport
yeatse/NSURLProtocol-WebKitSupport has 658 GitHub stars and 123 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 14:07 UTC. Last push 2017-09-28.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
Make your WKWebView happy with NSURLProtocol
Web & AppsREADME.md
OriginalNSURLProtocol+WebKitSupport
Note:If you target iOS 11, you can now use WKURLSchemeHandler to avoid this trick! 😆
This example project shows a way to use NSURLProtocol with WKWebView, which was not possible before.
Screenshot

Usage
Drag NSURLProtocol+WebKitSupport.h and NSURLProtocol+WebKitSupport.m into your project, then register the scheme for NSURLProtocol to handle:
[NSURLProtocol wk_registerScheme:@"https"];
// You can now use your own NSURLProtocol subclasses as before.
[NSURLProtocol registerClass:[MyAwesomeURLProtocol class]];
To remove the scheme from registery:
[NSURLProtocol wk_unregisterScheme:@"https"];
Note
This category uses undocumented APIs in WebKit. Use at your own risk.