Edit

Bagikan melalui


UITableViewDelegate.DidEndEditing(UITableView, NSIndexPath) Method

Definition

Called when the table view has left editing mode for the row specified by indexPath.

[Foundation.Export("tableView:didEndEditingRowAtIndexPath:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidEndEditing (UIKit.UITableView tableView, Foundation.NSIndexPath indexPath);
abstract member DidEndEditing : UIKit.UITableView * Foundation.NSIndexPath -> unit
override this.DidEndEditing : UIKit.UITableView * Foundation.NSIndexPath -> unit

Parameters

tableView
UITableView

Table view being edited.

indexPath
NSIndexPath

Location of the row.

Attributes

Remarks

When the user swipes across a single row to activate the swipe-to-delete feature, a Delete button appears and the table goes into a "swipe to delete editing mode". The table view calls WillBeginEditing(UITableView, NSIndexPath) to allow the row to adjust its user interface.

This method is called when the table view exits that mode (and the Delete button disappears), usually by the user touching elsewhere in the table view.

Applies to