One Logo Pool Ball
SwiftUI · IOS API REFERENCE

AppStorage

struct · iOS 14.0+ · SDK 27.1

@frozen @propertyWrapper struct AppStorage<Value>

A property wrapper type that reflects a value from `UserDefaults` and invalidates a view on a change in value in that user default.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

5 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

AppStorage.init(wrappedValue:_:store:)

The containing type needs Swift generic type arguments. (no canonical witness for RowValue)

AppStorage.init(wrappedValue:_:store:)

This declaration needs Swift generic type arguments. (no canonical witness for Value)

AppStorage.init(wrappedValue:_:store:)

This declaration needs Swift generic type arguments. (no canonical witness for Value)

AppStorage.init(_:store:)

The containing type needs Swift generic type arguments. (no canonical witness for R)

AppStorage.init(_:store:)

The containing type needs Swift generic type arguments. (no canonical witness for R)

All SwiftUI types →