Page 1 of 1

Save on iOS?

Posted: Sun Jul 05, 2020 4:54 pm
by comradesparklepony
Hello,

Is it possible to create a savefile on iOS? I have a LOVE project that saves correctly when run on a computer, but it does not appear to work on iOS. It uses

Code: Select all

love.filesystem.read
and

Code: Select all

love.filesystem.write
with binser in order to save. On the wiki, there is no save path listed for iOS, so given that was well as my test it seems like it is currently not possible to save on iOS, but I wanted to double check.

Thank you!

Re: Save on iOS?

Posted: Sun Jul 05, 2020 4:58 pm
by slime
File saving and loading should work fine on iOS. It uses the app's sandboxed Application Support directory.

Re: Save on iOS?

Posted: Sun Jul 05, 2020 6:02 pm
by comradesparklepony
I was handling saving in

Code: Select all

love.quit
which as slime pointed out in the Discord doesn't really work on iOS. Changing it to

Code: Select all

love.focus
fixed it!