One Logo Pool Ball
UIKit · IOS API REFERENCE

UIContentUnavailableConfiguration

struct · iOS 17.0+ · SDK 27.1

struct UIContentUnavailableConfiguration

Members (48)

get · iOS 17.0+

background

TypeScript
get background(): UIBackgroundConfiguration
Swift declaration
var background: UIBackgroundConfiguration { get set }
set · iOS 17.0+

background

TypeScript
set background(value: UIBackgroundConfiguration)
Swift declaration
var background: UIBackgroundConfiguration { get set }
get · iOS 17.0+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

get · iOS 17.0+

customMirror

TypeScript
get customMirror(): SDKHandle
Swift declaration
var customMirror: Mirror { get }

The custom mirror for this instance. If this type has value semantics, the mirror should be unaffected by subsequent mutations of the instance.

get · iOS 17.0+

secondaryText

TypeScript
get secondaryText(): (string) | null
Swift declaration
var secondaryText: String? { get set }
set · iOS 17.0+

secondaryText

TypeScript
set secondaryText(value: (string) | null)
Swift declaration
var secondaryText: String? { get set }
get · iOS 17.0+

attributedText

TypeScript
get attributedText(): (_Foundation_NSAttributedString) | null
Swift declaration
var attributedText: NSAttributedString? { get set }
set · iOS 17.0+

attributedText

TypeScript
set attributedText(value: (_Foundation_NSAttributedString) | null)
Swift declaration
var attributedText: NSAttributedString? { get set }
get · iOS 17.0+

textProperties

TypeScript
get textProperties(): UIContentUnavailableConfiguration_TextProperties
Swift declaration
var textProperties: UIContentUnavailableConfiguration.TextProperties { get set }
set · iOS 17.0+

textProperties

TypeScript
set textProperties(value: UIContentUnavailableConfiguration_TextProperties)
Swift declaration
var textProperties: UIContentUnavailableConfiguration.TextProperties { get set }
get · iOS 17.0+

imageProperties

TypeScript
get imageProperties(): UIContentUnavailableConfiguration_ImageProperties
Swift declaration
var imageProperties: UIContentUnavailableConfiguration.ImageProperties { get set }
set · iOS 17.0+

imageProperties

TypeScript
set imageProperties(value: UIContentUnavailableConfiguration_ImageProperties)
Swift declaration
var imageProperties: UIContentUnavailableConfiguration.ImageProperties { get set }
method · iOS 17.0+

makeContentView

TypeScript
makeContentView(): Promise<(UIView) & (SDKHandle)>
Swift declaration
@MainActor func makeContentView() -> any UIView & UIContentView
get · iOS 17.0+

secondaryButton

TypeScript
get secondaryButton(): UIButton_Configuration
Swift declaration
var secondaryButton: UIButton.Configuration { get set }
set · iOS 17.0+

secondaryButton

TypeScript
set secondaryButton(value: UIButton_Configuration)
Swift declaration
var secondaryButton: UIButton.Configuration { get set }
get · iOS 17.0+

buttonProperties

TypeScript
get buttonProperties(): UIContentUnavailableConfiguration_ButtonProperties
Swift declaration
var buttonProperties: UIContentUnavailableConfiguration.ButtonProperties { get set }
set · iOS 17.0+

buttonProperties

TypeScript
set buttonProperties(value: UIContentUnavailableConfiguration_ButtonProperties)
Swift declaration
var buttonProperties: UIContentUnavailableConfiguration.ButtonProperties { get set }
get · iOS 17.0+

debugDescription

TypeScript
get debugDescription(): string
Swift declaration
var debugDescription: String { get }

A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`: struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `debugDescription` property.

get · iOS 17.0+

imageToTextPadding

TypeScript
get imageToTextPadding(): number
Swift declaration
var imageToTextPadding: CGFloat { get set }
set · iOS 17.0+

imageToTextPadding

TypeScript
set imageToTextPadding(value: number)
Swift declaration
var imageToTextPadding: CGFloat { get set }
get · iOS 17.0+

textToButtonPadding

TypeScript
get textToButtonPadding(): number
Swift declaration
var textToButtonPadding: CGFloat { get set }
set · iOS 17.0+

textToButtonPadding

TypeScript
set textToButtonPadding(value: number)
Swift declaration
var textToButtonPadding: CGFloat { get set }
get · iOS 17.0+

secondaryAttributedText

TypeScript
get secondaryAttributedText(): (_Foundation_NSAttributedString) | null
Swift declaration
var secondaryAttributedText: NSAttributedString? { get set }
set · iOS 17.0+

secondaryAttributedText

TypeScript
set secondaryAttributedText(value: (_Foundation_NSAttributedString) | null)
Swift declaration
var secondaryAttributedText: NSAttributedString? { get set }
get · iOS 17.0+

secondaryTextProperties

TypeScript
get secondaryTextProperties(): UIContentUnavailableConfiguration_TextProperties
Swift declaration
var secondaryTextProperties: UIContentUnavailableConfiguration.TextProperties { get set }
set · iOS 17.0+

secondaryTextProperties

TypeScript
set secondaryTextProperties(value: UIContentUnavailableConfiguration_TextProperties)
Swift declaration
var secondaryTextProperties: UIContentUnavailableConfiguration.TextProperties { get set }
get · iOS 17.0+

directionalLayoutMargins

TypeScript
get directionalLayoutMargins(): { top: number; leading: number; bottom: number; trailing: number }
Swift declaration
var directionalLayoutMargins: NSDirectionalEdgeInsets { get set }
set · iOS 17.0+

directionalLayoutMargins

TypeScript
set directionalLayoutMargins(value: { top: number; leading: number; bottom: number; trailing: number })
Swift declaration
var directionalLayoutMargins: NSDirectionalEdgeInsets { get set }
get · iOS 17.0+

secondaryButtonProperties

TypeScript
get secondaryButtonProperties(): UIContentUnavailableConfiguration_ButtonProperties
Swift declaration
var secondaryButtonProperties: UIContentUnavailableConfiguration.ButtonProperties { get set }
set · iOS 17.0+

secondaryButtonProperties

TypeScript
set secondaryButtonProperties(value: UIContentUnavailableConfiguration_ButtonProperties)
Swift declaration
var secondaryButtonProperties: UIContentUnavailableConfiguration.ButtonProperties { get set }
get · iOS 17.0+

textToSecondaryTextPadding

TypeScript
get textToSecondaryTextPadding(): number
Swift declaration
var textToSecondaryTextPadding: CGFloat { get set }
set · iOS 17.0+

textToSecondaryTextPadding

TypeScript
set textToSecondaryTextPadding(value: number)
Swift declaration
var textToSecondaryTextPadding: CGFloat { get set }
get · iOS 17.0+

buttonToSecondaryButtonPadding

TypeScript
get buttonToSecondaryButtonPadding(): number
Swift declaration
var buttonToSecondaryButtonPadding: CGFloat { get set }
set · iOS 17.0+

buttonToSecondaryButtonPadding

TypeScript
set buttonToSecondaryButtonPadding(value: number)
Swift declaration
var buttonToSecondaryButtonPadding: CGFloat { get set }
get · iOS 17.0+

axesPreservingSuperviewLayoutMargins

TypeScript
get axesPreservingSuperviewLayoutMargins(): SDKHandle
Swift declaration
var axesPreservingSuperviewLayoutMargins: UIAxis { get set }
set · iOS 17.0+

axesPreservingSuperviewLayoutMargins

TypeScript
set axesPreservingSuperviewLayoutMargins(value: SDKHandle)
Swift declaration
var axesPreservingSuperviewLayoutMargins: UIAxis { get set }
get · iOS 17.0+

text

TypeScript
get text(): (string) | null
Swift declaration
var text: String? { get set }
set · iOS 17.0+

text

TypeScript
set text(value: (string) | null)
Swift declaration
var text: String? { get set }
static · iOS 17.0+

empty

TypeScript
static empty(): UIContentUnavailableConfiguration
Swift declaration
static func empty() -> UIContentUnavailableConfiguration
get · iOS 17.0+

image

TypeScript
get image(): (UIImage) | null
Swift declaration
var image: UIImage? { get set }
set · iOS 17.0+

image

TypeScript
set image(value: (UIImage) | null)
Swift declaration
var image: UIImage? { get set }
get · iOS 17.0+

button

TypeScript
get button(): UIButton_Configuration
Swift declaration
var button: UIButton.Configuration { get set }
set · iOS 17.0+

button

TypeScript
set button(value: UIButton_Configuration)
Swift declaration
var button: UIButton.Configuration { get set }
static · iOS 17.0+

search

TypeScript
static search(): UIContentUnavailableConfiguration
Swift declaration
static func search() -> UIContentUnavailableConfiguration
static · iOS 17.0+

loading

TypeScript
static loading(): UIContentUnavailableConfiguration
Swift declaration
static func loading() -> UIContentUnavailableConfiguration
method · iOS 17.0+

updated

TypeScript
updated(state: SDKHandle): UIContentUnavailableConfiguration
Swift declaration
func updated(for state: any UIConfigurationState) -> UIContentUnavailableConfiguration
get · iOS 17.0+

alignment

TypeScript
get alignment(): UIContentUnavailableConfiguration_Alignment
Swift declaration
var alignment: UIContentUnavailableConfiguration.Alignment { get set }
set · iOS 17.0+

alignment

TypeScript
set alignment(value: UIContentUnavailableConfiguration_Alignment)
Swift declaration
var alignment: UIContentUnavailableConfiguration.Alignment { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All UIKit types →