al
liurenjie
2021-06-26 afc4a909befeb08739f73c7ef59fd1bf1b870287
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//
//  BUWKWebView.h
//  BURexxar
//
//  Created by muhuai on 2017/5/5.
//  Copyright © 2017年 muhuai. All rights reserved.
//
 
#import <Foundation/Foundation.h>
#import <WebKit/WebKit.h>
#import "BUWebViewDefine.h"
 
@interface BUWKWebView : WKWebView<BUWebView>
/// 白屏检测
- (void)bu_detectBlankWebViewCompleteBlock:(void(^)(BOOL, NSError *))block;
 
/// 白屏检测百分比
- (void)bu_detectBlankPercentCompleteBlock:(void(^)(CGFloat bgColorPercent, NSError *error))block;
/// jsbridge 白屏检测百分比
- (void)bu_detectBlankPercentWithImageStr:(NSString *)imageStr completeBlock:(void(^)(CGFloat bgColorPercent, NSError *))block;
@end