How to use @AppStorage for a Dictionary of Strings [String: String]

后端 未结 0 1844
逝去的感伤
逝去的感伤 2020-12-21 00:46

Hey in my app I am trying to store whether the User wants a location to be its favourite. In order to make the change in this UserDefaults update the view I need to use @App

相关标签:
回答
  • 消灭零回复
提交回复
热议问题