洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
858 B

9 months ago
  1. //
  2. // AFEWebGuideView.h
  3. // BioAuthEngine
  4. //
  5. // Created by yukun.tyk on 3/21/16.
  6. // Copyright © 2016 DTF. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import <BioAuthEngine/AFEStatusBar.h>
  10. #import <WebKit/WebKit.h>
  11. @protocol AFEWebGuideViewDelegate <NSObject>
  12. - (void)onButtonBegin:(BOOL)suitableType;
  13. - (void)onButtonCancel;
  14. @optional
  15. - (void)onLoadFinished:(BOOL)success;
  16. - (void)onH5Logger:(NSString *)h5Logger;
  17. - (void)onButtonAgreement;
  18. @end
  19. @interface AFEWebGuideView : UIView <IStatusBarDelegate,WKScriptMessageHandler, WKUIDelegate, WKNavigationDelegate>
  20. @property(strong,nonatomic) WKWebView *wkwebView;
  21. @property(nonatomic, assign)BOOL loaded;
  22. @property(nonatomic, strong)UIViewController *currentViewController;
  23. - (void)setWebGuideViewDelegate:(id<AFEWebGuideViewDelegate>)webGuideViewDeleage;
  24. - (void)setURL:(NSURL *)url;
  25. @end