搜索

首页  >  问答  >  正文

objective-c - iOS 如何设置再UIlabel设置背景透明度的时候,文字不透明

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

雷雷

// leftLabel.backgroundColor = [UIColor lightGrayColor];

雷雷
伊谢尔伦伊谢尔伦2857 天前447

全部回复(0)我来回复

暂无回复
  • 取消回复