UIContentUnavailableConfigurationState
An object that encapsulates state for a content-unavailable view.
Declaration
@interface UIContentUnavailableConfigurationState : NSObjectOverview
Typically, you don’t create a configuration state yourself. To obtain a configuration state, override updateContentUnavailableConfigurationUsingState: in your view controller subclass and use the state parameter. Outside of this method, you can get a view controller’s configuration state from the contentUnavailableConfigurationState property.
You can create your own custom states to add to a content unavailable configuration state by defining a custom state key with UIConfigurationStateCustomKey.