How to save data to iCloud? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to save data to iCloud?

Hello I’am using Unity to make my game. I converted the players data to binary files(string bool int). After succesfully building my project it Will go to xcode where it Will be published to the Appstore. How can I sync the data to iCloud and prevent any errors from overriding ICloud data to device or handeling it when someone has more devices with progres? Help would ready be appreciated!

1st Sep 2019, 4:03 PM
Mike Willems
Mike Willems - avatar
2 Answers
+ 6
I don't really know much about iCloud, but i did a search and found these. Let me know if it's helpful or not 😊👍 https://support.apple.com/en-us/HT204247 https://m.wikihow.com/Use-iCloud-Storage
2nd Sep 2019, 9:19 AM
Oma
Oma - avatar
0
well Thank you very much for helping me out, unfortunately it is not where iam looking for. Iam a gamedeveloper and I need to store the progress of others to the iCloud. I will have to do this I think by writing code that “sends” my data(bool, int etc.) to cloudkit. But I dont know how. This way if u download my game u can play on multiple devices etc. I coudnt find a step-for-step guide on how to achieve this so if u could find it it would realy mean a lot! :)
2nd Sep 2019, 9:35 AM
Mike Willems
Mike Willems - avatar