Asks the delegate if the editing menu should omit the Copy or Paste command for a given row.
- iOS 5.0–13.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–13.0Deprecated
The table-view object that is making this request.
A selector type identifying the copy(_:) or paste(_:) method of the
Standard Edit Actions
An index-path object locating the row in its section.
The object that initially sent the
true if the command corresponding to
action should appear in the editing menu, otherwise
false. The default value is
This method is invoked after
table. It gives the developer the opportunity to exclude one of the commands—Copy or Paste—from the editing menu. For example, the user might have copied some cell content from one row but wants to paste into another row that doesn’t take the copied content. In a case like this, return
false from this method.