摘要:
框架: webview与js的通信框架 #import "MJViewController.h"#import "MBProgressHUD+Add.h"@interface MJViewController ()@end@implementation MJViewController- ... 阅读全文
随笔分类 - ios中webview的用法
ios中webview的高级用法
2013-07-08 17:31 by 甘超波, 24260 阅读, 收藏, 编辑
摘要:
1.隐藏上下滚动时出边界的后面的黑色的阴影- (void) hideGradientBackground:(UIView*)theView{ for (UIView * subview in theView.subviews) { if ([subview isKindOfClass:... 阅读全文
ios中UIWebview和asiHttprequest的用法
2013-07-08 16:07 by 甘超波, 2814 阅读, 收藏, 编辑
摘要:
原文地址为:http://www.cnblogs.com/pengyingh/articles/2343062.htmlasiHttprequest的用法 它对Get请求的响应数据进行缓存(被缓存的数据必需是成功的200请求): ASIHTTPRequest会自动保存访问过的URL信息,... 阅读全文
ios中UIWebview中加载本地文件
2013-07-08 14:07 by 甘超波, 7086 阅读, 收藏, 编辑
摘要:
[super viewDidLoad]; webview=[[UIWebView alloc] initWithFrame:self.view.bounds]; [self.view addSubview: webview]; [webview release... 阅读全文
webview中事件的用法
2013-06-26 21:34 by 甘超波, 3225 阅读, 收藏, 编辑
摘要:
封装 MBProgressHud====================================#import "MBProgressHUD.h"@interface MBProgressHUD (Add)+ (void)showError:(NSString *)error toVie... 阅读全文