Generic Instance Method

onPreferenceChange(_:perform:)

No overview available.

Declaration

func onPreferenceChange<K>(_ key: K.Type = K.self, perform action: @escaping (K.Value) -> Void) -> some View where K : PreferenceKey, K.Value : Equatable