简体   繁体   中英

Where do iphone applications store data?

What I mean is games such as Draw Something which are two player games and need to transfer data back and forth. Where is this data stored? Is it in iCloud, an external web server or somewhere else?

It depends a lot, and different apps use different solutions. You may use iCloud to share data between different devices, but not between different users. That is, if I have an app installed on both my iPhone and iPad, the app developer could use iCloud to share data between devices. But iCloud is not suitable to share data between you and me. Many will use their own service, or something like parse.com etc.

您可以为此使用Game Center

If you want to store some data locally on the phone, you can store them as plist or using something like sqlite

But normally those games and other web service store users data in their remote server, either their own machine, or amazon, or some other back-end service provider like heroku

You can use Parse . They basically do your whole backend for you, and you just need to interface with it using their API.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM