setNeedsUpdateConfiguration()
Requests the system update the button configuration.
Declaration
func setNeedsUpdateConfiguration()Discussion
Call this method to make the system call updateConfiguration(). The system calls this method automatically when the button’s state changes. If you call this method multiple times before the system calls updateConfiguration(), the system calls updateConfiguration() once.