How can I disable a button in Xcode?
If you are looking for a Swift 3.0 solution:
button.isEnabled = false
Via code:
myButton.enabled = NO;
If you're using interface builder there's an "enabled" option.
myButton.enabled = NO;
If you are looking for a Swift 3.0 solution:
button.isEnabled = false
Via code:
myButton.enabled = NO;
If you're using interface builder there's an "enabled" option.
myButton.enabled = NO;