|
//
// WDViewController.h
// WadeMobile
//
// Created by huangbo on 13-8-15.
// Copyright (c) 2013年 huangbo. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "WDMobileWebView.h"
#import "WDPluginManager.h"
#import "WDUITool.h"
#import "WDStringUtility.h"
#import "WDMobileConfig.h"
#import "WDConstant.h"
#import "WadeMobileDelegate.h"
#import "WDVerifyApp.h"
#import "IpuMacroDefinition.h"
#import <WebKit/WebKit.h>
#define SlipToRightRate 0.2
@class IPUProgressHUD;
@interface WDViewController : UIViewController <UIWebViewDelegate,WadeMobileDelegate,UIGestureRecognizerDelegate,WKUIDelegate,WKNavigationDelegate>
{
WDMobileWebView *wadeWebView;
}
@property(nonatomic,strong)IPUProgressHUD *ipuHud;
// 获取视图窗体大小
- (CGRect)getViewFrame;
/* 创建主体视图 */
- (void)createContentView;
- (void)setStatusBarColor:(UIColor *)color;
- (void)setLoadingPage;
// 手势监控类:是否需要进行返回
- (BOOL)shouldSlipToRight:(UIView *)view;
// 手势操作类:返回
- (void)slipToRight;
/**
设置NSURLCache,默认禁用
如需自行设置,在继承于本类的ViewController中实现(覆盖)该方法即可
*/
- (void)setURLCache;
@end
|