iphone - how do I make my label look like iPhone's inbuilt ones?
I want to create custom labels using UILabel that look like the ones iPhone settings have. Something similar to
How do I creat开发者_Python百科e the shadow effect and what font could I use?
You can set the shadowOffset to your UILabel. the first parameter is for horizontal shadow and second parameter for vertical shadow(as you are showing white shadow in your image).
label.shadowColor = [UIColor whiteColor];
label.shadowOffset = CGSizeMake(0.0, 1.0);
[label setFont:[UIFont fontWithName:@"Helvetica" size:12]];
精彩评论