How to save ColorPicker value to UserDefaults in SwiftUI?

后端 未结 0 428
星月不相逢
星月不相逢 2020-11-30 15:53

I have a ColorPicker in the Settings of my app which lets the user change accent colors in the whole app, but I don\'t know how I can save this Color to UserDefaults or Core

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