12345678910111213141516171819202122232425262728293031323334353637 |
- /*
- * AlibcWebviewHookHelp.h
- *
- * 阿里百川电商
- * 项目名称:阿里巴巴电商 AlibcTradeCommon
- * 版本号:3.1.1.93
- * 发布时间:2017-03-06
- * 开发团队:阿里巴巴百川商业化团队
- * 阿里巴巴电商SDK答疑群号:1229144682(阿里旺旺)
- * Copyright (c) 2016-2019 阿里巴巴-移动事业群-百川. All rights reserved.
- */
- #import <Foundation/Foundation.h>
- #import "AlibcURLBus.h"
- #ifndef AlibcWebviewHookHelp_h
- #define AlibcWebviewHookHelp_h
- @class NSURLRequest;
- @class UIViewController;
- @class UIWebView;
- @class NSURL;
- @interface AlibcWebviewHookHelp : NSObject
- + (nullable instancetype)sharedInstance;
- - (BOOL)webView:(nonnull UIWebView *)webView sourceViewController:(nonnull UIViewController *)vc shouldStartLoadWithRequest:(nonnull NSURLRequest *)request;
- - (BOOL)webView:(nonnull UIWebView *)webView context:(nonnull AlibcURLBusContext *)context shouldStartLoadWithRequest:(nonnull NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType;
- - (void)beforeWebViewStartLoad:(nullable NSURL *)url;
- @end
- #endif
|