Contents

clearAllMenuItems()

Removes all programmatically added actions from the context menu.

Declaration

func clearAllMenuItems()

Discussion

Use this method to remove all menu items that you added using the addMenuItem(with:title:action:) or addMenuItem(withImageNamed:title:action:) method. This method does not remove menu items that you configured in the storyboard file.

See Also

Deprecated symbols