After I fetch document from CloudKit there may be an sqlite
property title outlined as CKAsset
. I can entry it like this:
if let url = (document["sqlite"] as? CKAsset)?.fileURL {
print(url)
}
file:///personal/var/cell/Containers/Information/Software/08546025-C2F5-4F34-ADB5-D838E6579562/Library/Caches/CloudKit/788a2f506eeedcd325bb7001584f502b7927dda7/Belongings/742418AD-5CD2-4EED-AB26-F9D85708805B.010ac08f0c3c106954334632a7dce9bc9b3589ee7b
I’ve uploaded to CloudKit file named MyApp.sqlite
. And now I want to have file with the identical title because it was earlier than importing. How can I alter it? In fact I understand how to replace url with what I would like, however altering url does not change file title.