在我的iPhone应用程序中,我有一个在Interface Builder中创建的UIButton.我可以像这样在我的代码中成功地启用和禁用它.
sendButton.enabled = YES;
或
sendButton.enabled = NO;
However, the visual look of the button is always the same! It is not faded 或 grey. If I attempt to click it though, it is enabled 或 disabled as expected. Am I missing something? Shouldn't it look faded 或 grey?