Swift 3: Image does not show when setting isHidden=false
问题 I followed a tutorial about how to create an iOS app where a title image and a background image are shown once a button is hit (there are checked as "hidden" in the attribute inspector). I am using Swift 3 and Xcode 8. That's what the code looks like: import UIKit class ViewController: UIViewController { @IBOutlet weak var background: UIImageView! @IBOutlet weak var titleImage: UIImageView! @IBOutlet weak var welcomeBtn: UIButton! @IBAction func welcomePressed(_ sender: UIButton) { background