I created an application that use iCloud
to sync the devices. everything sync correctly except for deletion.
the situation is this.
I save a image file in device A and also save to its local document directory as well as my iCloud
document directory.
when device B detect the change, it download the image file from iCloud
and save to its local document directory.
the problem is following.
when device A delete the image file in its local document directory, it will also delete the image file in iCloud
document directory.
However, device B will not delete its owe image file in its local directory.
I want the device B to delete its image file as well when the iCloud
document directory.
Anyone knows how to do that?