【发布时间】:2010-12-07 06:10:26
【问题描述】:
如何在 UITableView 中创建两列......
我为 mac 找到..我需要为 iphone 创建....我找到行....如何为我的 UITableView 获取两列...对于我需要导航的每个人。
首先我需要为 UITableView 获取两列。
【问题讨论】:
-
嗨.. Joe Blow....感谢重播....但是我的单元格需要使用两列执行详细的TextLabel,并且有n个行...第一列将加载另一个笔尖文件...第二个将加载另一个 nib.. 文件。
-
UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom]; button.frame = CGRectMake(60, 0, 50, 25); // 按钮的大小和位置 [button setTitle:@"More this date" forState:UIControlStateNormal]; [按钮 setTitleColor:[UIColor redColor] forState:UIControlStateNormal]; [按钮 setFont:[UIFont systemFontOfSize:8]]; [按钮 addTarget:self action:@selector(action:) forControlEvents:UIControlEventTouchUpInside]; [cell.contentView addSubview:button];
标签: iphone