How to hide/show controls in UITableViewCell when it goes in/out of editing mode?

Posted by Aleksandar Vacic on Stack Overflow See other posts from Stack Overflow or by Aleksandar Vacic
Published on 2009-09-20T22:05:02Z Indexed on 2010/05/22 17:20 UTC
Read the original article Hit count: 485

I have few custom controls (image views) added programmatically to table cell. I want to hide them when table view goes into editing mode and show them again when view gets out of editing mode. I'm not using UITableViewCell subclasses, controls are added through tableView:cellForRowAtIndexPath: method.

When and where should I do the hide/show?

I'm wondering is this even possible without subclassing (where I could do this in layoutSubviews)...

© Stack Overflow or respective owner

Related posts about cocoa-touch

Related posts about uitableviewcell