---
title: "removeItem(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uigravitybehavior/removeitem(_:)"
---

# removeItem(_:)

Removes the specified dynamic item from the gravity behavior.

## Declaration

```swift
func removeItem(_ item: any UIDynamicItem)
```

## Parameters

- `item`: The dynamic item that you want to remove. If the specified item is not associated with the behavior, this method does nothing.

## Discussion

Discussion If the gravity behavior has an associated dynamic animator, this method notifies the dynamic animator of the removal of the item so that it can stop any associated animations.

## See Also

### Managing a gravity behavior’s items

- [items](uikit/uigravitybehavior/items.md)
- [addItem(_:)](uikit/uigravitybehavior/additem(_:).md)
