UILabel text overridden with C8G-b6-....

A simple UILabel's text is being overridden with a long slew of characters starting with C8G-b6-. Any ideas why it would be doing this? I dragged a UILabel onto the storyboard. It has no IBOutlet connection so it is not an issue with my code.


Anyone else run into this issue?

Thanks

Replies

I experienced the same issue myself.


In my case, when the textlabel of button is "10", it will somohow changed to like "(ObjectID).normalTitle".

Where, ObjectID is a string with number and alphabet.

I found this issue in UIButton, UILabel and UISegmentedControl.


This is a issue on storyboard only.

If you do it in code, it will work.


[myButton setTitle:@"10"]; // it will work !


It was bug-reported in beta3 period.

Yup, same thing for me. I fixed it my using code too. Not the best solution but it was the only way to make sure it didn't hapeen in production.

We are not alone. It happens in the buttons in the Movies and TV Shows stores too.

Yes, it's happened to me on UISegmentedControl too.

If you want to fix it on the storyboard, here is a workaround that may work for you.

Set the text to another value, "save" it, then change it back to your original text.

That worked for me.

I had one control that kept doing this multiple times.