When I turn off the button using Button.enabled = NO; , the button disappears.
Button.enabled = NO;
Can this be prevented?
I want to disable the functionality of a button, but I want it to look the same.
Try using
[Button setUserInteractionEnabled:NO];
Hope this helps you!
You can prevent the user from interacting with the button using this
yourButton.userInteractionEnabled = NO;