objective-c - iOS 如何设置再UIlabel设置背景透明度的时候,文字不透明
伊谢尔伦
伊谢尔伦 2017-05-02 09:24:37
0
0
391

UILabel *leftLabel = [[UILabel alloc]initWithFrame:CGRectMake(0+20, UIViewHeight - 20, UIViewWidth, 20)];

leftLabel.textColor = [UIColor whiteColor];

// leftLabel.backgroundColor = [UIColor lightGrayColor];

leftLabel.backgroundColor = [[UIColor blackColor]colorWithAlphaComponent:0.7f];
伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template