xcode中View控件的背景色怎么设置成透明色

2025-05-08 01:16:38
推荐回答(2个)
回答1:

在SB里面选中VIew找到backgroung

swift的代码
self.view.backgroundColor = UIColor.clearColor()

回答2:

[uicolor clearcolor];