removeItem(at:)
Removes the menu item at a specified location in the menu.
Declaration
func removeItem(at index: Int)Parameters
- index:
An integer index identifying the menu item.
Discussion
After it removes the menu item, this method posts an didRemoveItemNotification.