---
title: "removeStatusItem(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsstatusbar/removestatusitem(_:)"
---

# removeStatusItem(_:)

Removes the specified status item from the receiver.

## Declaration

```swift
func removeStatusItem(_ item: NSStatusItem)
```

## Parameters

- `item`: The NSStatusItem object to remove.

## Discussion

Discussion Status items to the left of the specified one in the status bar shift to the right to reclaim its space.

## See Also

### Managing Status items

- [statusItem(withLength:)](appkit/nsstatusbar/statusitem(withlength:).md)
