when updating label text a few images reset to the

2019-06-09 20:22发布

I'm working on a game with score (UILabel) and a few moving UIImages.

From the day I installed XCode 6, every time I update the score all the images in the view go back to their first frame (the frame from the storyboard).

I tried to update the score like this:

label.text = @"4";
[label setText : @"4"];

but it still happens

I think that if I will create this score label programmatically it might help, but I wanna know if some of you know about this bug and maybe you have some other solution?

0条回答
登录 后发表回答