 <p>I would suggest that you don't add your functionality on top of the selected property of the cell, which has slightly different behaviour than you expect.</p> <p>Just add your own <code>BOOL expanded</code> property, and see how that works. You should probably call it from the <code>UITableView delegate</code> methods, too.</p>