- mask
- A bit mask indicating the state/s the cell is transitioning to.
UITableViewCell subclasses can implement this method to perform additional animations when it is changing state (such as from a normal state to editing move). A custom cell may create any new views that are required in the new state. UIView.LayoutSubviews() is then called which allows the code to position these new elements in their correct locations for the new state.
Subclasses must always call base when overriding this method.
Note that when the user swipes to delete, the cell transitions to the UITableViewCellState.ShowingDeleteConfirmationMask - but UITableViewCellState.ShowingEditControlMask is not set. Remember to test for the correct value when handling this case.