Forum Xamarin.iOS
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Save a single persistent variable

I'm building a simple game in Xamarin.iOS using SpriteKit. A top score value needs to be saved permanently and updated when it's surpassed. Perhaps I'm having one of those days, but I'm not seeing a way to do it other than saving the value to a file or setting up a DB and saving it there. Both options seem overkill to me and I'd like to know if there's a way to save a variable to the app permanently with the ability to update it when needed. Can anyone shed some light, please?



Best Answer


  • TypsyDangerTypsyDanger USMember

    Awesome, worked perfectly in the simulator. Thanks Jason!

Sign In or Register to comment.