Add shadow to label's text

iPhone SDK Tips & Tricks

myLabel.shadowColor = [UIColor darkGrayColor];
myLabel.shadowOffset = CGSizeMake(1.0,1.0);


The shadowOffset controls set how far on the x- and y-axes from the label's text the shadow is drawn. The default is {0,-1}.