how can I set the title of an UIButton?
[button setTitle:@"Title" forState:UIControlStateNormal];
The same way you can set separate title if needed for highlighted and selected state (changing last parameter)
//PSEUDO CODE
UIButton *myButton;
[myButton setTitle: @"I'm a f%&%$$%&& button!!!!!!!! yay" forState:UIControlStateNormal];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With