会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
小楼一夜听春雨
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
14
15
16
17
18
19
20
21
22
···
25
下一页
2015年4月11日
UILabel 自适应高度,宽度
摘要: mLabel1 = [[UILabel alloc]initWithFrame:CGRectMake(0, 20, 10, 1)]; mLabel1.text = @"my label 1, ok , ok , ok "; mLabel1.numberOfLines = 0; [mLabel...
阅读全文
posted @ 2015-04-11 14:44 ximenchuixie
阅读(539)
评论(0)
推荐(0)
编辑
2015年4月10日
uiview animation 卡一下
摘要: 原因:有个下载图片的地方在主线程执行,导致动画卡一下。
阅读全文
posted @ 2015-04-10 15:16 ximenchuixie
阅读(253)
评论(0)
推荐(0)
编辑
2015年4月9日
storyboard中UIButton setframe 不起作用
摘要: 将storyboard的autolayout选项关掉!(暂时没发现具体什么原因。)
阅读全文
posted @ 2015-04-09 23:02 ximenchuixie
阅读(263)
评论(0)
推荐(0)
编辑
ios tableview header 透明
摘要: 当将tableview的style属性设为grouped时,header或footer会变成透明,如果设为plain,header或footer会保持默认颜色
阅读全文
posted @ 2015-04-09 14:04 ximenchuixie
阅读(484)
评论(0)
推荐(0)
编辑
2015年4月8日
ios 确定文字所占矩形框大小
摘要: labelFrame.size = [self.label.text sizeWithFont:self.label.font constrainedToSize:CGSizeMake(self.label.frame.size.width, CGFLOAT_MAX) lineBreakMode:s...
阅读全文
posted @ 2015-04-08 17:24 ximenchuixie
阅读(195)
评论(0)
推荐(0)
编辑
2015年4月7日
iphone splash screen
摘要: https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP4000925...
阅读全文
posted @ 2015-04-07 17:16 ximenchuixie
阅读(190)
评论(0)
推荐(0)
编辑
2015年4月1日
ios present NavigationController
摘要: ViewController *testViewController = [[DashboardTableViewController alloc]initWithNibName:@"testViewController" bundle:nil]; UINavigationCont...
阅读全文
posted @ 2015-04-01 13:50 ximenchuixie
阅读(314)
评论(0)
推荐(0)
编辑
2015年3月25日
UITableView cell 半透明效果,改变cell高度时背景不闪的解决方法
摘要: 如果直接指定cell.backgroundColor == [UIColor colorWithRed:255.0/255.0 green:255.0/255.0 blue:255.0/255.0 alpha:0.8];在ios7下改变cell高度时cell背景会闪通过以下方法可避免此问题,将cel...
阅读全文
posted @ 2015-03-25 18:16 ximenchuixie
阅读(591)
评论(0)
推荐(0)
编辑
2015年3月24日
ios 缩放动画
摘要: CABasicAnimation *buttonAni = [CABasicAnimation animationWithKeyPath:@"transform.scale"]; //self.startButton.layer.transform = CATransform3DMakeScal...
阅读全文
posted @ 2015-03-24 18:39 ximenchuixie
阅读(196)
评论(0)
推荐(0)
编辑
Objective C, post 请求
摘要: -(void)postData{ NSMutableURLRequest* request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"http://www.abc.com"]]; [request setValue:...
阅读全文
posted @ 2015-03-24 14:45 ximenchuixie
阅读(504)
评论(0)
推荐(0)
编辑
上一页
1
···
14
15
16
17
18
19
20
21
22
···
25
下一页