You can subclass UITableViewCell , which implements the -willTransitionToState: and / or -didTransitionToState: .
willTransitionToState: Subclasses of UITableViewCell can implement this method to animate additional changes to the cell when the state changes. UITableViewCell calls this method whenever a cell switches between states, for example, from a normal state (default) to edit mode. A custom cell can customize and place any new views that appear in a new state. The cell then receives a layoutSubviews (UIView) message in which it can position these new views at its final locations for the new state. A subclass should always call super when overriding this method.
source share