How are normal people supposed to persist settings in a Windows Phone 8 app?

前端 未结 2 700
暖寄归人
暖寄归人 2020-12-17 09:55

I\'m in the process of writing a Windows Phone 8 app, so I can capture that much sought-after 3% market share, and am having a hard time persisting user settings within the

2条回答
  •  不知归路
    2020-12-17 10:35

    A couple of options here....

    1. LocalFolder is supported so you could serialize whatever state you want to a file there.
    2. Check out the IsolatedStorageSettings class, specifically the ApplicationSettings property

    Also this may provide a bit more context: How to preserve and restore app state for Windows Phone

提交回复
热议问题