iOS - Getting Started
Thursday, 13 June 2013
3. Set Transparent color and font for label
To set transparent label use the following lines in your codes:
UILabel *label;
label
.
backgroundColor
= [
UIColor
clearColor
];
To set Font sie of the label test
label
.
font
= [
UIFont
systemFontOfSize
:50.0
];
label
.
textAlignment
=
NSTextAlignmentCenter
;
For more details :
click here
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment