objective-c - iOS How to set the text to be opaque when setting the background transparency of the UIlabel
伊谢尔伦
伊谢尔伦 2017-05-02 09:24:37
0
0
416

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