Answers for "how can i set background color of view from code in swift"

2

swift change background color

self.view.backgroundColor = UIColor.red
Posted by: Guest on March-20-2020
1

changing color of background swift

self.view.backgroundColor = UIColor.blue // or .blue for shorthand
Posted by: Guest on September-28-2020

Code answers related to "how can i set background color of view from code in swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language