0

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?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Ckw Cfm
  • 23
  • 1
  • 5

1 Answers1

-1

Use this link for resolve your issue and there is one silly mistake on function name in the demo so you can resolve it in the given demo.

Diken Shah
  • 1,189
  • 9
  • 25
  • thank you Diken, but it doesn't looks like what I am looking for. – Ckw Cfm Feb 18 '15 at 10:38
  • @CkwCfm, Have you tried to implement delete function from given link? – Diken Shah Feb 18 '15 at 12:50
  • I have. in my case. when device A deletes the image, the device local image, icloud image will be deleted. but the local image in device B will not delete. I want to some how detect the deletion and device B delete its local image as well. – Ckw Cfm Feb 19 '15 at 03:06