i just started Coding on a new app and i need to save images to CloudKit i but i cant seem to find how if you know what to do plese let me know thanks.
CloudKit saving images
Add a Comment
i just started Coding on a new app and i need to save images to CloudKit i but i cant seem to find how if you know what to do plese let me know thanks.
There are many tutorials on how to do it :
h ttps://www.raywenderlich.com/134694/cloudkit-tutorial-getting-started
or this:
h ttps://www.hackingwithswift.com/read/33/4/writing-to-icloud-with-cloudkit-ckrecord-and-ckasset
and of course, official Apple's doc
h ttps://developer.apple.com/documentation/cloudkitjs/cloudkit/database/1628735-saverecords
i think i figured it out However do you know how to delete a CKrecord that dose not have a record id say i created it like this
let ListRecord = CKRecord(recordType: "listRecord")
ListRecord["listName"] = Listname.text
but how do i delete a record at a tableview Indexpath?