iOS 加载本地html
来源:互联网 发布:js delay sleep 编辑:程序博客网 时间:2024/05/27 06:52
self.webView = [[UIWebViewalloc]initWithFrame:CGRectMake(0,66, W,self.view.frame.size.height-66)];
NSString *mainBundleDirectory=[[NSBundlemainBundle] bundlePath];
NSString *path=[mainBundleDirectorystringByAppendingPathComponent:@"anjie.html"];
NSURL *url=[NSURLfileURLWithPath:path];
NSURLRequest *request=[[NSURLRequestalloc]initWithURL:urlcachePolicy:NSURLRequestUseProtocolCachePolicytimeoutInterval:30];
self.webView.scalesPageToFit=YES;
[self.webViewloadRequest:request];
self.webView.delegate =self;
[self.viewaddSubview:self.webView];
0 0
- iOS 加载本地html
- iOS加载本地HTML
- UIWebView加载本地html ios
- ios html 加载本地图片
- ios 加载本地的Html文件
- iOS WebView加载本地HTML的方法
- iOS项目加载本地的html文件
- iOS中webview加载本地html文件
- iOS webView 远程html加载本地资源
- iOS WebView加载本地html文件
- iOS 加载本地HTML,css,js
- iOS 加载本地html文件详细操作
- iOS 加载本地html、js、css方法
- html文件如何加载iOS本地图片
- iOS 如何加载本地html文件
- IOS使用webview加载本地HTML文件,压入JS
- ios中html加载本地图片的路径转换问题
- iOS webView加载本地html 调用 js,css (基本使用)
- python2.7 was not found in the registry
- VT-x/AMD-V 硬件加速在您的系统中不可用. (如 OS/2 和 QNX) 需要该功
- AE开发的几个小问题
- Letter Combinations of a Phone Number (Java)
- hiho一下 第二十八周 最小生成树三·堆优化的Prim算法
- iOS 加载本地html
- UIImage处理方法(缩放、自定义大小)
- 获得java虚拟机的启动时间和运行时长
- Java Web应用启动后执行定时任务-ScheduledThreadPoolExecutor
- Oracle查询表空间使用情况
- virtualenv
- asp开发:Microsoft JET Database Engine 错误 '80040e10'
- BDBR vs BDPSNR 计算方法
- 1105:素数圆环