Contents

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.

Declaration

@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.

See Also

Creating an unavailable view