Relative Content

Tag Archive for swiftswiftuiswift3io

How to wait until cloud kit data is being synced with core data in swiftui

our core data + icloudkit synced working fine but problem is when we uinstall and then install our app then we want wait little bit and then hit fetch request to core data but we don’t use any DispatchQueue.main.asyncAfter(deadline: .now() + 8) this method so any other way to do this or any method like when they notify me when our data fetched from icloud to core data and then we request to data to core data in SwiftUi