---
title: "dragStateDidChange(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uitableviewcell/dragstatedidchange(_:)"
---

# dragStateDidChange(_:)

Notifies the cell that its drag status changed.

## Declaration

```swift
func dragStateDidChange(_ dragState: UITableViewCell.DragState)
```

## Parameters

- `dragState`: The new drag state for the cell.

## See Also

### Dragging the row

- [userInteractionEnabledWhileDragging](uikit/uitableviewcell/userinteractionenabledwhiledragging.md)
- [UITableViewCell.DragState](uikit/uitableviewcell/dragstate.md)
