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
36 lines
858 B
//
|
|
// AFEWebGuideView.h
|
|
// BioAuthEngine
|
|
//
|
|
// Created by yukun.tyk on 3/21/16.
|
|
// Copyright © 2016 DTF. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import <BioAuthEngine/AFEStatusBar.h>
|
|
#import <WebKit/WebKit.h>
|
|
@protocol AFEWebGuideViewDelegate <NSObject>
|
|
|
|
- (void)onButtonBegin:(BOOL)suitableType;
|
|
- (void)onButtonCancel;
|
|
|
|
@optional
|
|
- (void)onLoadFinished:(BOOL)success;
|
|
- (void)onH5Logger:(NSString *)h5Logger;
|
|
- (void)onButtonAgreement;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface AFEWebGuideView : UIView <IStatusBarDelegate,WKScriptMessageHandler, WKUIDelegate, WKNavigationDelegate>
|
|
|
|
@property(strong,nonatomic) WKWebView *wkwebView;
|
|
|
|
@property(nonatomic, assign)BOOL loaded;
|
|
@property(nonatomic, strong)UIViewController *currentViewController;
|
|
|
|
- (void)setWebGuideViewDelegate:(id<AFEWebGuideViewDelegate>)webGuideViewDeleage;
|
|
- (void)setURL:(NSURL *)url;
|
|
|
|
@end
|