开发者

UITableViewCell - Missing the MOVE lines in Edit Mode

开发者 https://www.devze.com 2023-04-10 01:56 出处:网络
I\'m flummoxed as to what I may have done to cause this, but it seems that the lines that represent (and allow) MOVING of a UITableViewCell have disappeared when I enter edit mode.开发者_开发百科 The

I'm flummoxed as to what I may have done to cause this, but it seems that the lines that represent (and allow) MOVING of a UITableViewCell have disappeared when I enter edit mode.开发者_开发百科 The delete button is there.

Anyone know what method or methods control that (usually default) cell accessory from being displayed when a user enters edit mode?

Thanks!


Turns out I was missing this method:

- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath{


}

Thank you, Git!

0

精彩评论

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