08 2014 档案

pac 文件使用到的javascript函数
摘要:下面是可用于FindProxyForURL()函数体中的条件函数:基于主机名的函数:isPlainHostName()dnsDomainIs()localHostOrDomainIs()isResolvable()isInNet()相关的实用程序函数:dnsResolve()myIpAddress(... 阅读全文

posted @ 2014-08-31 15:27 XCoderLiu 阅读(621) 评论(0) 推荐(0)

webview改变网页宽度
摘要:- (void)webViewDidFinishLoad:(UIWebView *)webView { //修改服务器页面的meta的值 NSString *meta = [NSString stringWithFormat:@"document.getElementsB... 阅读全文

posted @ 2014-08-12 13:00 XCoderLiu 阅读(440) 评论(0) 推荐(0)

iOS按钮长按
摘要:UILongPressGestureRecognizer*longPressGR = [[UILongPressGestureRecognizeralloc]initWithTarget:self action:@selecto... 阅读全文

posted @ 2014-08-07 17:09 XCoderLiu 阅读(614) 评论(0) 推荐(0)

ios 页面滑入滑出
摘要:从左边滑进CGRect r1,r2; r1 = app.testview.view.frame; r2 = self.view.frame; [app.testview.view setFrame:CGRectMake(320, r1.origin.y,r1.size.... 阅读全文

posted @ 2014-08-07 16:48 XCoderLiu 阅读(350) 评论(0) 推荐(0)

UILable自适应frame
摘要:UILabel *textlab = [[UILabel alloc]initWithFrame:CGRectMake(20, 10,ScrollView.frame.size.width - 40,260)]; textlab.text = @"测试用的随便写写ffffffffeeeeeeeee... 阅读全文

posted @ 2014-08-07 16:40 XCoderLiu 阅读(134) 评论(0) 推荐(0)

导航