UIButton issue in ios7.1/xcode5.1

2014-03-20 Thread David Brittain
I am seeing an issue in our app where setTitle:forState: is not working when a UIButton is in the selected state (the same happens with setImage:forState:). Specifically I am calling: [self.button setTitle:@New name forState:UIControlStateNormal]; The call has no effect until the user taps the

Re: UIButton issue in ios7.1/xcode5.1

2014-03-20 Thread Alex Kac
Correct. We have a RADAR and a test project showing this same problem. The problem occurs only on iOS 7.1 and only when using the 7.1 SDK. My guess is that its an optimization gone bad. I’ve re-read the docs multiple times and 1) I think you are correct. 2) The workaround I use is ugly - I