hot to safe "isEnable" state of button in user defaults?

20 views Asked by At

I have a button that adds a product to the wishlist. After it has been clicked i want it to have "isEnabled" state when user returns to the same product page again.

1

There are 1 answers

3
sandamal wijeweera On

Did you try to use a boolean to handle it? If not try it.