I have an interface with a button that shows an image when it is active and another when it is deactivated.
When I start the view, the button always appears as activated, although in the viewDidLoad I do a [self.button setEnabled: NO]
If at one point in the application I launch an event and do a [self.button setEnabled: NO] the button if it is disabled
What do I have to do so that at the beginning I get the button as disabled by code?