---
title: MKAnnotationView.DragState.canceling
framework: mapkit
role: symbol
role_heading: Case
path: mapkit/mkannotationview/dragstate-swift.enum/canceling
---

# MKAnnotationView.DragState.canceling

An annotation view cancels drag operation.

## Declaration

```swift
case canceling
```

## Discussion

Discussion A user action causes the view to cancel the drag operation. You can put an annotation view into this state to abort the operation.

## See Also

### Constants

- [MKAnnotationView.DragState.none](mapkit/mkannotationview/dragstate-swift.enum/none.md)
- [MKAnnotationView.DragState.starting](mapkit/mkannotationview/dragstate-swift.enum/starting.md)
- [MKAnnotationView.DragState.dragging](mapkit/mkannotationview/dragstate-swift.enum/dragging.md)
- [MKAnnotationView.DragState.ending](mapkit/mkannotationview/dragstate-swift.enum/ending.md)
