How can i add a background image to a UILabel in an iPhone Application. I've tried to do it through IB but with no result.
Can anybody help me..
Looking forward to your reply.
How can i add a background image to a UILabel in an iPhone Application. I've tried to do it through IB but with no result.
Can anybody help me..
Looking forward to your reply.
Try doing it with code:
theLabel.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"blah"]];
Or place an UIImageView
behind the label (not recommended).