猎豆优选

AlibcWebviewHookHelp.h 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * AlibcWebviewHookHelp.h
  3. *
  4. * 阿里百川电商
  5. * 项目名称:阿里巴巴电商 AlibcTradeBiz
  6. * 版本号:4.0.0.2
  7. * 发布时间:2019-09-15
  8. * 开发团队:阿里巴巴商家服务引擎团队
  9. * 阿里巴巴电商SDK答疑群号:1488705339 2071154343(阿里旺旺)
  10. * Copyright (c) 2016-2020 阿里巴巴-淘宝-百川. 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. @property(nonatomic,assign)double lastAutoLoginTime;
  23. - (BOOL)webView:(nonnull UIWebView *)webView sourceViewController:(nonnull UIViewController *)vc shouldStartLoadWithRequest:(nonnull NSURLRequest *)request;
  24. - (BOOL)webView:(nonnull UIWebView *)webView context:(nonnull AlibcURLBusContext *)context shouldStartLoadWithRequest:(nonnull NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType;
  25. - (void)beforeWebViewStartLoad:(nullable NSURL *)url;
  26. @end
  27. #endif