I am new to the swift language. Can someone tell me how to change the background color of a button using the swift language?
After you connect the UIButton that you want to change its background as an OUtlet to your ViewController.swift file you can use the following:
yourUIButton.backgroundColor = UIColor.blue