【发布时间】:2015-02-01 20:49:31
【问题描述】:
我有一个带有附件类型详细信息指示器的 UITableViewCell。当我调整单元格大小时,单元格附件会水平居中。我怎样才能让它保持在顶部,而不是居中?
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
customCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cellID" forIndexPath:indexPath];
return cell;
}
如果可能,我更喜欢在故事板中进行,如果没有,我很高兴听到如何以编程方式进行。
【问题讨论】:
标签: ios objective-c uitableview accessorytype