x


moving to iOS- XML files

Hello there,

I'm trying to move a project i wrote in c# for a windows platform to an iPad.

In my project, i read/write XML files locally to load/save data to run the game.

Before i go out and buy a mac/iPad, does anyone know if saving/loading xml files will work for an iPad? OR will i have to rewrite the project using 'plist' files and the like?

more ▼

asked Jul 19 '11 at 02:15 PM

theot3 gravatar image

theot3
16 5 5 7

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

You can write to local files in iOS. The restriction is that you can only write to the app's "Documents" directory. You can reach that using the following path:

Application.dataPath + "/../../Documents/"
more ▼

answered Jul 19 '11 at 02:39 PM

burnumd gravatar image

burnumd
3.3k 22 34 71

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x4155
x1960
x360
x255

asked: Jul 19 '11 at 02:15 PM

Seen: 1780 times

Last Updated: Jul 19 '11 at 02:39 PM