NSURLProtocol+WKWebView.h 366 B

123456789101112131415161718192021
  1. //
  2. // NSURLProtocol+WKWebView.h
  3. // Starbuds
  4. //
  5. // Created by 翟玉磊 on 2020/4/27.
  6. // Copyright © 2020 翟玉磊. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface NSURLProtocol (WKWebView)
  11. + (void)wk_registerScheme:(NSString*)scheme;
  12. + (void)wk_unregisterScheme:(NSString*)scheme;
  13. @end
  14. NS_ASSUME_NONNULL_END