SyntaxFix
Write A Post
Hire A Developer
Questions
Assuming that the button is a UIButton:
UIButton
UIButton *button = …; [button setEnabled:NO]; // disables [button setTitle:@"Foo" forState:UIControlStateNormal]; // sets text
See the documentation for UIButton.