<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "tvOS: 17.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIContentUnavailableConfiguration-swift.struct/empty()",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:5UIKit33UIContentUnavailableConfigurationV5emptyACyFZ"
  },
  "title" : "empty()"
}
-->

# empty()

Creates the default configuration for unavailable content.

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

## Return Value

A new configuration.

## 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()`](/documentation/UIKit/UIContentUnavailableConfiguration-swift.struct/search()) or [`loading()`](/documentation/UIKit/UIContentUnavailableConfiguration-swift.struct/loading()).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)