I'm creating and displaying an instance of UITableView
. The delegate (which is actually my subclass of UITableView
) never receives any of the following selectors:
tableView:shouldShowMenuForRowAtIndexPath:
tableView:canPerformAction:forRowAtIndexPath:withSender:
tableView:performAction:forRowAtIndexPath:withSender:
even though the documentation specifically states, for example, under the discussion of tableView:shouldShowMenuForRowAtIndexPath:
If the user tap-holds a certain row in the table view, this method (if implemented) is invoked first. Return NO if the editing menu shouldn’t be shown—for example, the cell corresponding to the row contains content that shouldn’t be copied or pasted over.
Other tutorials also document this shortcut for displaying the UIMenuController
in table views. Why isn't this working as documented?