In my iPhone app, I have a UIButton which I have created in Interface Builder. I can successfully enable and disable it like this in my code ...
sendButton.e
This is quite an old question but there's a much simple way of achieving this.
myButton.userInteractionEnabled = false
This will only disable any touch gestures without changing the appearance of the button