---
title: deletePlaceholder()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/uitableviewdropplaceholdercontext/deleteplaceholder()
---

# deletePlaceholder()

Removes an unneeded placeholder cell from the table view.

## Declaration

```swift
func deletePlaceholder() -> Bool
```

## Return Value

Return Value true if the placeholder cell was removed, or false if the cell was no longer in the table view.

## Discussion

Discussion Call this method on your app’s main thread to remove a placeholder cell without swapping in a new cell. You might call this method if the user chooses to undo the insertion of a cell or if the contents of the table view changed.
