<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ContentUnavailableView/init(_:image:description:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI22ContentUnavailableViewVA2A5LabelVyAA4TextVAA5ImageVGRszAGSgRs_AA05EmptyE0VRs0_rlE_5image11descriptionACyAjkMG10Foundation23LocalizedStringResourceV_SSAKtcfc::OverloadGroup"
  },
  "title" : "init(_:image:description:)"
}
-->

# init(_:image:description:)

Creates an interface, consisting of a title generated from a localized
string resource, an image and additional content, that you display when
the content of your app is unavailable to users.

```
@export(implementation) nonisolated init(_ title: LocalizedStringResource, image name: String, description: Text? = nil)
```

## Parameters

`title`

A title generated from a localized string.

`name`

The name of the image resource to lookup.

`description`

The view that describes the interface.

---

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)