Is this possible to update the supportedFamilies(_:) in widget on runtime.

I have a requirement where I have enabled the widget for my app but I don't want to show it to some specific user. And on click of any button on my app, I can enable the widget for that user.

Basically I can pass the value to supportedFamilies(_:) on runtime?

Any help will be appreciated

Is this possible to update the supportedFamilies(_:) in widget on runtime.
 
 
Q