#import "ViewController.h"
#import "KJWebProgressLayer.h"
@interface ViewController ()<UIWebViewDelegate,UITableViewDataSource,UITableViewDelegate>
//@property(nonatomic,strong)UITableView *
@property(nonatomic,strong)UITableView *onetableview;
@end
@implementation ViewController
{
UIWebView *_webView;
KJWebProgressLayer *_progressLayer; //载进度条
}
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
_webview = [[UIWebView alloc]initWithFrame:CGRectMake(100, 100, self.view.frame.size.width, 300)];
_webview.delegate = self;
_webview.scrollView.scrollEnabled = NO;