I use iCloud documents to sync file between device. it works correctly but the main issue is, when iCloud exceed to 5 GB which is maximum allowed for free account, so in this case when I upload the file it continue to write in FileManager but I can not see in another device this because the memory of iCloud is full. But it doesnt give any error feedback using write(to:) method. so my question is how to know if iCloud storage is full in order to show error to the user?
so