会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
cz_mr
根据内容的大小获得控件的大小
摘要: //宽度,高度,和字体大小CGSize size = [contentString boundingRectWithSize:CGSizeMake(width, MAXFLOAT) options:NSStringDrawingUsesLineFragmentOrigin attributes:@{...
阅读全文
posted @ 2014-12-04 16:23 cz_mr
阅读(139)
评论(0)
推荐(0)
编辑
tableview取消选中某一行
摘要: //取消选中- (void)deselect{ [_tableView deselectRowAtIndexPath:[_tableView indexPathForSelectedRow] animated:YES];}//在点击某一行中添加[self performSelector:@se...
阅读全文
posted @ 2014-12-04 16:21 cz_mr
阅读(208)
评论(0)
推荐(0)
编辑
[super class] 和 [self superclass] 区别
摘要: #import "ViewController.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; NSLog(@"s...
阅读全文
posted @ 2014-12-04 15:33 cz_mr
阅读(196)
评论(0)
推荐(0)
编辑
ios 模拟器键盘无法出来
摘要: Can't find keyplane that supports type 4 for keyboard iPhone-PortraitChoco-NumberPad; using 2382260317_PortraitChoco_iPhone-Simple-Pad_Default对模拟器进行设置
阅读全文
posted @ 2014-12-04 15:26 cz_mr
阅读(204)
评论(0)
推荐(0)
编辑
导航
博客园
首页
联系
订阅
管理
公告