Closed NickEntin closed 3 years ago
This currently works for buttons that check the properly / listen to the notification and manually update their appearance based on that. It doesn't work for standard buttons that use the system-defined button shape behavior though.
This is what the "enabled" snapshot should actually show:
Closing this for now. I'm not sure of a path forward with this to get all buttons working.
UIKit introduced a new API in iOS 14 to check whether button shapes are enabled. This adds a new snapshot method that mocks that setting being enabled.