4

I'm making a configurable widget

user can select an option from one of widgets

enter image description here

and some point I want to reset that option. (for example, if user logout, user's option need to be reset.)

I used func defaultMyType(for intent: MyTypeIntent) -> MyType? but it does not work.

How can I reset user's option?

thanks

WoffOVkee
  • 435
  • 3
  • 16
  • This is related: [How to reset intent extension configurations in WidgetKit](https://stackoverflow.com/q/63764083/8697793) – pawello2222 Nov 05 '20 at 19:53
  • @pawello2222 unfortunately I don't use core data. I always wonder about apple document's useless... – WoffOVkee Nov 06 '20 at 04:21

0 Answers0