title: How to display an image when button is pressed in iOS?
body: <p>I am trying to display an UIImageView when a button is pressed. In my main story board, I have an ImageView(hidden) and an UIButton. How do I modify the ViewController to make that happen?</p>
  
  <pre><code>import UIKit
  
  class ViewController: UIViewController {
      @IBOutlet var ImageView: UIImageView!
  
      override func viewDidLoad() {
          super.viewDidLoad()
          ImageView.image = UIImage(named: "18.pic_hd.jpg")
      }
  }
  </code></pre>
  
  <p>This is  what I currently have so far, but the program breaks and gives me Thread 1: signal SIGABRT. I am new to Xcode and Swift, so any direction is appreciated!</p>