HaibaoViewController.h 780 Bytes
#import <UIKit/UIKit.h>
#import "HaibaoLoginInfo.h"
#import <JavaScriptCore/JavaScriptCore.h>

@interface HaibaoViewController : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
    UIWebView *webView_;
    UIActivityIndicatorView *activityIndicator;
}


//@property(assign) int webViewWidth;
//@property(assign) int webViewHeight;
//@property(assign) int screenwidth;
//@property(assign) int screenHeight;

@property(assign) BOOL hasCorner;

-(void)setView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)initWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
- (void)receiveIap:(NSNotification *)notification;

@end