Objective-C UILabel in clear transparent background

May 25, 2009 § Leave a comment

Use UI Color “clearColor”.

UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 320, 50)];
[label setBackgroundColor:[UIColor clearColor]];

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading Objective-C UILabel in clear transparent background at Web Builders.

meta

%d bloggers like this: