41 ms·
NSUbiquitousKeyValueStore can be understood as a network-synced version of UserDefaults. It is a member of the CloudKit service project and can easily share dat
by fatbobman 3y ago
NSUbiquitousKeyValueStore can be understood as a network-synced version of UserDefaults. It is a member of the CloudKit service project and can easily share data across different devices (with the same iCloud account) with simple configuration.This article will introduce the usage of NSUbiquitousKeyValueStore, focusing on how to use it in SwiftUI.