暂无描述

AlibcWebviewHookHelp.h 1.1KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * AlibcWebviewHookHelp.h
  3. *
  4. * 阿里百川电商
  5. * 项目名称:阿里巴巴电商 AlibcTradeCommon
  6. * 版本号:3.1.1.200
  7. * 发布时间:2017-08-21
  8. * 开发团队:阿里巴巴百川商业化团队
  9. * 阿里巴巴电商SDK答疑群号:1488705339 2071154343(阿里旺旺)
  10. * Copyright (c) 2016-2019 阿里巴巴-移动事业群-百川. All rights reserved.
  11. */
  12. #import <Foundation/Foundation.h>
  13. #import "AlibcURLBus.h"
  14. #ifndef AlibcWebviewHookHelp_h
  15. #define AlibcWebviewHookHelp_h
  16. @class NSURLRequest;
  17. @class UIViewController;
  18. @class UIWebView;
  19. @class NSURL;
  20. @interface AlibcWebviewHookHelp : NSObject
  21. + (nullable instancetype)sharedInstance;
  22. - (BOOL)webView:(nonnull UIWebView *)webView sourceViewController:(nonnull UIViewController *)vc shouldStartLoadWithRequest:(nonnull NSURLRequest *)request;
  23. - (BOOL)webView:(nonnull UIWebView *)webView context:(nonnull AlibcURLBusContext *)context shouldStartLoadWithRequest:(nonnull NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType;
  24. - (void)beforeWebViewStartLoad:(nullable NSURL *)url;
  25. @end
  26. #endif