How to set UIView background in XCode?

前端 未结 0 941
孤城傲影
孤城傲影 2020-11-29 23:24

I am trying to set the background color of UIView programmatically. The code I am using is

UIView.appearance().backgroundColor = .blue

It wor

相关标签:
回答
  • 消灭零回复
提交回复
热议问题