So I\'m trying to update the text on a UIButton when I click it. I\'m using the following line to change the text:
calibrationButton.titleLabel.text = @\"Cal
To set button text use the following method:
[calibrationButton setTitle: @"Calibration" forState: UIControlStateNormal];
See UIButton class reference for more details...
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIButton_Class/UIButton/UIButton.html
Or in Swift 3:
calibrationButton.setTitle("Calibration", for: .normal)