Editar

Compartir a través de


UITableViewCell.DidTransitionToState(UITableViewCellState) Method

Definition

Called on the cell just after it transitions between cell states.

[Foundation.Export("didTransitionToState:")]
public virtual void DidTransitionToState (UIKit.UITableViewCellState mask);
abstract member DidTransitionToState : UIKit.UITableViewCellState -> unit
override this.DidTransitionToState : UIKit.UITableViewCellState -> unit

Parameters

mask
UITableViewCellState

A bit mask indicating the state (or combination of states) the cell is transitioning to.

Attributes

Remarks

UITableViewCell subclasses can implement this method to perform additional animations when it is changing state (such as from a normal state to editing move). This method is called at the end of the animation block to clean up after the state change (such as removing the editing and reordering controls when transitioning from editing to normal mode).

Subclasses must always call base when overriding this method.

Note that when the user swipes to delete, the cell transitions to the ShowingDeleteConfirmationMask - but ShowingEditControlMask is not set. Remember to test for the correct value when handling this case.

Applies to