开发者

UITableViewCell Editing Minus Sign Frame?

开发者 https://www.devze.com 2023-03-23 11:08 出处:网络
I want to move the minus si开发者_高级运维gn to the right. How do I do that? Thanks!I don\'t know if it\'s possible, but I\'d start by looking into subclassing the UITableViewCell and overriding its

I want to move the minus si开发者_高级运维gn to the right. How do I do that?

Thanks!


I don't know if it's possible, but I'd start by looking into subclassing the UITableViewCell and overriding its layoutSubviews method.

But I don't believe you can, you only have access to the contentView, the accessoryView, the backgroundView, not the deleteConfirmationView. The closest thing you can find in UITableViewCell's reference is the boolean showingDeleteConfirmation.

So you could try subclassing the UITableViewCelland adding your own delete confirmation button where you want, by responding to willTransitionToState: when the new state is UITableViewCellStateShowingDeleteConfirmationMask.

0

精彩评论

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