How do I disable a UIButton?

Please set this…

 editButton.userInteractionEnabled = NO; 

or You can use

 editButton.enabled = NO;

Leave a Comment