Setting the background of a UILabel (transparency problem with .png files)?

It sounds like you might have forgotten to change the opaque property of the UILabel.

It sounds like you might have forgotten to change the opaque property of the UILabel: label. Opaque = NO; Alternatively, you can set this property in the InterfaceBuilder view of Xcode.

This worked for me! I can see through now... – Mundi Aug 15 at 22:41 not working for me :S damn it! – Francesco Aug 16 at 9:51.

You'll also need to save it as a png24 or 24bit png file - at least that's the case when saving from PhotoShop.

Footer setBackgroundColor:UIColor colorWithPatternImage:UIImage imageNamed:@"Favourite_商哝文字背景. Png"; footer setOpaque:NO; it must be work,goodLuck!

Change its opaque property to NO. If it doesn't help, you can add imageView behing your label: yourLabel setOpaque:NO; yourLabel setBackgroundColor:UIColor clearColor; UIImageView *labelBkg = UIImageView alloc initWithFrame:yourLabel. Frame; labelBkg setImage:UIImage imageNamed:@"yourImageName.

Png"; self. View insertSubview:labelBkg belowSubview:yourLabel; labelBkg release.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions