码迷,mamicode.com
首页 >  
搜索关键字:nsurlrequest    ( 160个结果
UIWebView的三种加载方式
一、使用UIWebView 将web content 嵌入到应用上。API提供了三种方法:- (void)loadRequest:(NSURLRequest *)request;- (void)loadHTMLString:(NSString *)string baseURL:(NSURL *)ba...
分类:Web程序   时间:2014-10-24 12:30:55    阅读次数:202
Chapter 21 WebServices and UIWebView
Chapter 21 WebServices and UIWebView1. Usually, fetch data from a web server using four handy classes: NSURL, NSURLRequest, NSURLSessionTask, and NSUR...
分类:Web程序   时间:2014-10-05 15:11:08    阅读次数:253
IOS UIWebView使用开发
NSURL*loadingUrl=[NSURLURLWithString:@"www.baidu.com"];NSURLRequest*request=[NSURLRequestrequestWithURL:loadingUrl];UIWebViewstring
分类:移动开发   时间:2014-09-16 02:45:20    阅读次数:152
iOS UIWebView 捕获403 、404错误
#pragma mark -#pragma mark - UIWebView Delegate Methods- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigat...
分类:移动开发   时间:2014-09-12 14:43:13    阅读次数:182
iOS拨打电话并且能返回当前应用的方法
UIWebView*callWebview =[[UIWebView alloc] init]; NSString *telUrl = [NSString stringWithFormat:@"tel:%@",phone]; NSURL *telURL =[NSURL URLWithString:telUrl]; [callWebview loadRequest:[NSURLRequest req...
分类:移动开发   时间:2014-09-04 20:58:20    阅读次数:215
Iphone UIWebView加载网页开发
_webView=[[UIWebViewalloc]initWithFrame:self.view.frame];NSURLRequest*request=[[NSURLRequestalloc]initWithURL:[NSURLURLWithString:BAIDU]];[_webViewloadRequest:request];[self.viewaddSubview:_webView];
分类:Web程序   时间:2014-08-25 15:08:44    阅读次数:176
NSUrlConnection 和 NSUrlRequest 的关系
开始看到这2个名字,总感觉NSUrlConnection才是主要的网络请求类,其实不是,先看官方文档An NSURLConnection object lets you load the contents of a URL by providing a URL request object. The...
分类:其他好文   时间:2014-08-08 12:28:26    阅读次数:248
IOS实现打电话后回调
UIWebView *callWebview =[[UIWebView alloc] init] ; // tel: 或者 tel:// NSURL *telURL =[NSURL URLWithString:@"tel://10086"]; [callWebview loadRequest:[NSURLRequest requestWithURL:telURL...
分类:移动开发   时间:2014-08-01 19:44:12    阅读次数:366
UIWebView使用中的内存相关问题
本文转载至:http://blog.csdn.net/musou_ldns/article/details/7675589applicationios5webkit测试cacheios在iOS5平台开发应用的过程中,发现使用UIWebView通过NSURLRequest加载网页后,即使UIWebVi...
分类:Web程序   时间:2014-07-16 18:30:15    阅读次数:207
网页显示UIWebView(一)
1.scalesPageToFit设置为YES,这样web页面会根据屏幕大小进行自动缩放。 2.UIWebView的状态监视 //内容读入开始前被调用。将UIWebView,返回no后UIWebView不进行读入处理。如果想在单击链接时进行独自处理则处理 - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType...
分类:Web程序   时间:2014-07-14 17:05:15    阅读次数:270
160条   上一页 1 ... 13 14 15 16 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!