My iCloud sync feature is an in-app purchase. I want to know how to switch iCloud sync without restarting the app.
https://developer.apple.com/documentation/swiftdata/modelconfiguration/cloudkitdatabase-swift.property
I haven't found a method to modify the CloudKitDatabase.
Post
Replies
Boosts
Views
Activity
My widget uses the @Environment(.isActivityFullscreen) variable. When running on ios 17, it will crash and report an error:
dyld[55031]: Symbol not found: _$s7SwiftUI17EnvironmentValuesV9WidgetKitE20isActivityFullscreenSbvg
Expected in: /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/WidgetKit.framework/WidgetKit