摘要: ShareSDK;友盟;百度分享;//支付宝支付1,seller id:2,partner id:3,加密文件(公钥、私钥)4,下载SDK(网页版、无线版--支付宝论坛)5,scheme,【info-URL Types】--number-》string =【description】1,生成订单信息2... 阅读全文
posted @ 2015-12-03 14:28 欢欢0919 阅读(158) 评论(0) 推荐(0)
摘要: (1)系统去首尾空格方法,使用NSString中的str = [str stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]]方法只是去掉左右两边的空格;(2)替换的方法,使用NSString *strUrl ... 阅读全文
posted @ 2015-12-03 14:25 欢欢0919 阅读(228) 评论(0) 推荐(0)
摘要: 在Info.plist中添加NSAppTransportSecurity类型Dictionary。在NSAppTransportSecurity下添加NSAllowsArbitraryLoads类型Boolean,值设为YES;//响应并行数据=====可接受的内容类型、、类型不一致的时候可以更改;... 阅读全文
posted @ 2015-12-03 14:25 欢欢0919 阅读(113) 评论(0) 推荐(0)
摘要: NSMutableDictionary *params = [NSMutableDictionary dictionary];params[@"city"] = self.selectedCityName; 阅读全文
posted @ 2015-12-03 14:24 欢欢0919 阅读(124) 评论(0) 推荐(0)
摘要: View.autoresizeingMask = UIViewAutoresizingNone;//关闭自动拉伸UIview *title = [self.view.subviews firstobject];3,VC.modalPresentationStyle = UIModalPresenta... 阅读全文
posted @ 2015-12-03 14:23 欢欢0919 阅读(112) 评论(0) 推荐(0)
摘要: 1,点击cell效果的关闭[tableViewdeselectRowAtIndexPath:indexPath animated:YES];2,给cell加箭头cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;3.tab... 阅读全文
posted @ 2015-12-03 14:23 欢欢0919 阅读(146) 评论(0) 推荐(0)
摘要: 1,[[UIApplicationsharedApplication]openURL:[NSURLURLWithString:@"teL:4000731855"]];2, 阅读全文
posted @ 2015-12-03 14:22 欢欢0919 阅读(105) 评论(0) 推荐(0)
摘要: 渲染:imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal; 阅读全文
posted @ 2015-12-03 14:22 欢欢0919 阅读(117) 评论(0) 推荐(0)
摘要: 1,首先看文件是否加载;2,路径是否设置正确;search path 和library path; 阅读全文
posted @ 2015-12-03 14:21 欢欢0919 阅读(131) 评论(0) 推荐(0)
摘要: 1,Command + Shift + 0 (Zero),帮助文档;2,Command + Shift + O(o),快捷搜索;3, Command + Shift + J ,定位你打开的文件,4, 阅读全文
posted @ 2015-12-03 14:19 欢欢0919 阅读(106) 评论(0) 推荐(0)
摘要: / 1.轻拍手势类 // 创建一个轻拍手势 同时绑定了一个事件 UITapGestureRecognizer *aTapGR = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapGRActio... 阅读全文
posted @ 2015-12-03 14:18 欢欢0919 阅读(154) 评论(0) 推荐(0)
摘要: _extendView.hidden=NO; [UIViewanimateWithDuration:.5delay:0options:UIViewAnimationOptionCurveLinearanimations:^{ _extendView.frame=CGRectMake(0,64,... 阅读全文
posted @ 2015-12-03 14:18 欢欢0919 阅读(87) 评论(0) 推荐(0)
摘要: SVN使用1,svn checkout [path] --username=ls --password=ls;svn status,查看svn help status,查看帮助M被修改,A被提交!文件丢失,不完整2,svn add main.c3,svn commit main.c-m "第一次提交... 阅读全文
posted @ 2015-12-03 14:17 欢欢0919 阅读(108) 评论(0) 推荐(0)