- Home /
Read and write from IOS to Mac
Hi, I can easily write a text file on my mac into a "out of game folder" directory like so.
string directory = "/UserName/SomeFolderName";
string textToWrite = "This is just some text";
System.IO.File.WriteAllText(directory +"/fileName.txt",textToWrite);
Works like a charm.. now.. If I have an IOS device on the same network, how can I read / write to that file? I assume I have to make the folder shared or what is the process I must understand/undertake both on the IOS side and the Mac side.
Thank you.
Anxo.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613173642im_/https://answers.unity.com/themes/thub/images/avi.jpg)