会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
人生路1/5
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
下一页
2016年3月11日
AFNetworking 3.0
摘要: AFNetworking 3.0使用 // 取消所有网络 请求 // 取消请求 [self.manager.tasks makeObjectsPerformSelector:@selector(cancel)]; // 销毁会话管理者 [self.manager invalidateSessionC
阅读全文
posted @ 2016-03-11 17:11 人生路1/5
阅读(280)
评论(0)
推荐(0)
2016年3月10日
ios nav自定义button
摘要: +(void)initialize{ UINavigationBar *item = [UINavigationBar appearance]; // 按钮的颜色 item.tintColor = [UIColor redColor]; // 整个背景的颜色 item.barTintColor =
阅读全文
posted @ 2016-03-10 19:33 人生路1/5
阅读(495)
评论(0)
推荐(0)
2016年3月9日
如何更好地限制一个UITextField的输入长度
摘要: [textField addTarget:self action:@selector(textFieldDidChange:) forControlEvents:UIControlEventEditingChanged]; 这样就可以更好地限制输入长度: - (void)textFieldDidCh
阅读全文
posted @ 2016-03-09 16:06 人生路1/5
阅读(110)
评论(0)
推荐(0)
IOS 消息机制(NSNotificationCenter)
摘要: http://blog.csdn.net/wangeen/article/details/38322795
阅读全文
posted @ 2016-03-09 16:05 人生路1/5
阅读(137)
评论(0)
推荐(0)
2016年3月8日
iOS 各类型转换
摘要: // 字符串转Data NSString *str =@"jesfds"; NSData *data =[str dataUsingEncoding:NSUTF8StringEncoding]; //NSData 转NSString NSString *result =[[ NSString all
阅读全文
posted @ 2016-03-08 14:03 人生路1/5
阅读(223)
评论(0)
推荐(0)
NSURLSession 发送post请求
摘要: 1 - (void)test{ 2 //1.构造URL 3 NSURL *url = [NSURL URLWithString:@"https://api.weibo.com/2/statuses/update.json"]; 4 5 //2.构造Request 6 NSMutableURLRequ
阅读全文
posted @ 2016-03-08 10:43 人生路1/5
阅读(220)
评论(0)
推荐(0)
2016年3月5日
UIWebView 使用
摘要: iOS中UIWebView的使用详解 2016-03-05 20:04:03.950 webWiew[52644:2355401] -[ViewController webView:shouldStartLoadWithRequest:navigationType:] -- <NSMutableUR
阅读全文
posted @ 2016-03-05 22:24 人生路1/5
阅读(499)
评论(0)
推荐(0)
2016年3月4日
facebook pop简单使用
摘要: 弹簧特效 1 - (void)viewDidLoad { 2 [super viewDidLoad]; 3 4 [self addBarButton]; 5 UIView *view = [[UIView alloc] init]; 6 self.kkview = view; 7 // view.f
阅读全文
posted @ 2016-03-04 16:37 人生路1/5
阅读(286)
评论(0)
推荐(0)
2016年3月3日
未明白
摘要: uiview 自动布局: self.autoresizingMask = UIViewAutoresizingNone;
阅读全文
posted @ 2016-03-03 17:02 人生路1/5
阅读(120)
评论(0)
推荐(0)
iOS 保存图片到相册
摘要: 保存图片到相册 - (IBAction)save_clcik:(UIButton *)sender { if (self.imgView.image==nil) { [SVProgressHUD showWithStatus:@"正在努力加载中..."]; return; } // 将图片写入到相册
阅读全文
posted @ 2016-03-03 08:43 人生路1/5
阅读(197)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告