I noticed that after saving a record to the database, a fetchedRecordZoneChanges event will be triggered by CKSyncEngine, returning the modified record that was just saved. Although this seems redundant and inefficient, is the purpose of this to locally persist the newly saved record?
I have not found a way to force the NavigationView to display the List view when iPad is in portrait. If the NavigationLink's are embedded within the List, you can simply add a view after the List within the NavigationView, which will be shown when there is no selection:
NavigationView {
List(items) { item in
NavigationLink(destination: DetailView(item) ) { Text(item.description) }
}
ViewToShowWhenNoLinkIsActive()
}
I noticed that after saving a record to the database, a fetchedRecordZoneChanges event will be triggered by CKSyncEngine, returning the modified record that was just saved. Although this seems redundant and inefficient, is the purpose of this to locally persist the newly saved record?
I have not found a way to force the NavigationView to display the List view when iPad is in portrait. If the NavigationLink's are embedded within the List, you can simply add a view after the List within the NavigationView, which will be shown when there is no selection:
NavigationView {
List(items) { item in
NavigationLink(destination: DetailView(item) ) { Text(item.description) }
}
ViewToShowWhenNoLinkIsActive()
}