Pregunta

I currently have an iOS application for which I would like to enable iCloud score storage so that users will have their game progress synced across their devices. The users progress is stored in multiple plist files in the sandboxes documents folder. I read a few articles online about iCloud and the various "helper classes" (NSFileManager, UIDocument, NSFileCoordinator etc.) but am a little confused which one is the right one for me (does NSFileManager do the job or will i need to subclass UIDocument).

The API's are all a bit confusing to me.

¿Fue útil?

Solución

You should use iCloud with Key-Value Data Storage. It's by far the simplest and most reliable at the moment, and suits your case perfectly.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top