Tudor
Tudor

Reputation: 143

setting a UILabel alpha level in cocoa-touch

I'm having a little late night problem trying to get a UILabel's alpha changed. I can do

theLabel.alpha = 0.0 

and it works fine. But when I want to change it a bit more remotely like

[[self.uploadDisplayLabels objectAtIndex:i] setAlphaValue: 0.0];

I get no end of crashes. I have tried setAlpha and also alpha but none of them work

Any suggestions?

Upvotes: 1

Views: 1168

Answers (1)

Noah Witherspoon
Noah Witherspoon

Reputation: 57139

setAlpha: is definitely correct. What error do you get when you use that?

Upvotes: 2

Related Questions