---
title: empty()
framework: uikit
role: symbol
role_heading: Type Method
path: uikit/uicontentunavailableconfiguration-swift.struct/empty()
---

# empty()

Creates the default configuration for unavailable content.

## Declaration

```swift
static func empty() -> UIContentUnavailableConfiguration
```

## Return Value

Return Value A new configuration.

## Discussion

Discussion Use this method to create a new configuration to customize. This is useful if your empty content doesn’t fit the uses covered by configurations available with search() or loading().
