Strange behaviour when Pixate Freestyle (2.1.2) is active:
I set a titleLabel.text property of a UIButton in viewWillAppear and the result is that the UI does not show the updated text. Instead, the text that is set in Interface Builder is displayed.
// title in IB is @"DEFAULT"
-viewWillAppear:... {
if (myCondition) {
self.myButton.titleLabel.text = @"title if true";
} else {
self.myButton.titleLabel.text = @"title if false";
}
}
In the above, the GUI displays @"DEFAULT" as the title. If I disable Pixate Freestyle it works as expected.
We have NO css class or id or other set on the button and no entries in the stylesheet so this should just be a vanilla button.
Strange behaviour when Pixate Freestyle (2.1.2) is active:
I set a titleLabel.text property of a UIButton in viewWillAppear and the result is that the UI does not show the updated text. Instead, the text that is set in Interface Builder is displayed.
In the above, the GUI displays @"DEFAULT" as the title. If I disable Pixate Freestyle it works as expected.
We have NO css class or id or other set on the button and no entries in the stylesheet so this should just be a vanilla button.
iOS7.0+ iPad Mini. Pixate Freestyle 2.1.2
Any suggestions?