UILabel 设置背景图片
UIColor *color = [UIColor colorWithPatternImage:[UIImage imageNamed:@"半透明title.png"]]; uilabel.backgroundColor = color;
UIColor *color = [UIColor colorWithPatternImage:[UIImage imageNamed:@"半透明title.png"]]; uilabel.backgroundColor = color;