 <p>Try this...you have problem with your IBOutlet...</p> <pre><code> @IBAction func Background Cyan(sender: UIButton) { view.backgroundColor = UIColor.cyan } </code></pre> <p>Paste this code into yourstoryboard and reconnect the outlet. This will do the job...</p>