开发者

Moving Delete icon on UITableView in 'grouped' style into the cell?

I have a UITableView style set to grouped. This works correctly except when in edit mode the 'minus' icon for Deleting a cell isn't with开发者_运维百科in the cell. It's to the left. In the Weather App that icon is in the cell. Anyone know how to fix this?

Image here:

Moving Delete icon on UITableView in 'grouped' style into the cell?


I know this is an old post, but I had a hard time finding the solution to this, so I figured I'd post it:

- (BOOL)tableView:(UITableView *)tableView shouldIndentWhileEditingRowAtIndexPath:(NSIndexPath *)indexPath {
   return NO;
}


This is normal. It looks like Weather uses a plain table view with its corners rounded, not a grouped table view. But I'd you mist have this behavior, try changing the size of the cell's background view when it's editing...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜