YHWebViewProgressView.h 661 Bytes
//
//  YHWebViewProgressView.h
//  YohoExplorerDemo
//
//  Created by gaoqiang xu on 3/25/15.
//  Copyright (c) 2015 gaoqiang xu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YHWebViewProgressViewProtocol.h"
@import WebKit;

@interface YHWebViewProgressView : UIView
<YHWebViewProgressViewProtocol>
@property (nonatomic) float progress;

@property (readonly, nonatomic) UIView *progressBarView;
@property (nonatomic) NSTimeInterval barAnimationDuration;// default 0.5
@property (nonatomic) NSTimeInterval fadeAnimationDuration;// default 0.27
@property (copy, nonatomic) UIColor *progressBarColor;

- (void)useWkWebView:(WKWebView *)webView;

@end