|
I'm working on a project where the client wants to be able to update certain text based data assets and maybe select image assets that are stored locally on the phone without needing to issue a formal application update through the iTunes Store. Is this possible? Assuming any kind of update is possiblem, if there were new icon images to go with things added to the text assets, would it be possible to store entirely new assets? I'm totally new to iPhone development, and fairly new to Unity as well, so any insight would be appreciated.
(comments are locked)
|
|
You can have your app look for new asset bundles from a server and download them if necessary using the WWW class. From the iphone docs:
You can then save the data to a documents folder on the device Again from the docs:
You can also simply download a texture or some text from a website and use them directly in your game without using asset bundles if you prefer. You do this by setting up a new WWW and storing the returned text as a string with www.data I need to test this, of course, but I'm certainly giving you the answer for now! Thanks so much! Super helpful!
Jul 20 '10 at 04:44 AM
grey
One brief additional question, if you happen to know, is that documents folder backed-up with the rest of the iPhone data when iTunes does it backup?
Jul 20 '10 at 04:45 AM
grey
Backup saves data such as music, applications, podcasts, videos, ringtones, photos, notes, email account settings, contacts, calendars, and bookmarks. So yes, the whole folder.
Jul 20 '10 at 10:38 AM
spinaljack
(comments are locked)
|
