我试图让UITableViewController
看起来像下面。 (它有图片和几行为人的身份)如何使UITableView看起来像联系人中的那个?
我不知道如何使得像下面的程序化。
如何调整UITableViewCell
的origin.x和width? 如何在左上角添加图片?
请帮助我..我会感谢你。
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
UITableViewCell *cell;
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:SimpleTableIdentifier];
cell.frame = CGRectMake(50, 0, 250, 44) <--- ?????? I think this is wrong way.
return cell;
}