objective-c - iOS Comment rendre le texte opaque lors de la définition de la transparence d'arrière-plan de UIlabel
伊谢尔伦
伊谢尔伦 2017-05-02 09:24:37
0
0
422

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伐。

répondre à tous(0)
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal