<!--
{
  "availability" : [
    "watchOS: 2.0.0 - 7.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKInterfaceController/clearAllMenuItems()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKInterfaceController(im)clearAllMenuItems"
  },
  "title" : "clearAllMenuItems()"
}
-->

# clearAllMenuItems()

Removes all programmatically added actions from the context menu.

```
func clearAllMenuItems()
```

## Discussion

Use this method to remove all menu items that you added using the [`addMenuItem(with:title:action:)`](/documentation/WatchKit/WKInterfaceController/addMenuItem(with:title:action:)-1q2zj) or [`addMenuItem(withImageNamed:title:action:)`](/documentation/WatchKit/WKInterfaceController/addMenuItem(withImageNamed:title:action:)) method. This method does not remove menu items that you configured in the storyboard file.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)