title: swift 'UIImage?' is not convertible to 'UIImage'
body: <p>I am getting the error 'UIImage?' is not convertible to 'UIImage' 
  for the line <code>let selectedImage = info[.originalImage] as? UIImage</code>
   in my image picker function (below)</p>
  
  <pre><code>func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey : Any]) {
  
      let selectedImage = info[.originalImage] as? UIImage
  
      // how do i set the image on my buttons when I select a photo?
      let imageButton = (picker as? CustomImagePickerController)?.imageButton
      imageButton?.setImage(selectedImage?.withRenderingMode(.alwaysOriginal), for: .normal)
      dismiss(animated: true)
  
      let filename = UUID().uuidString
      let ref = Storage.storage().reference(withPath: "/images/\(filename)")
      guard let uploadData = selectedImage?.jpegData(compressionQuality: 0.75) else { return }
  
  
      //guard let uploadData = selectedImage else { return }
  
      let hud = JGProgressHUD(style: .dark)
      hud.textLabel.text = "Uploading image..."
      hud.show(in: view)
      ref.putData(uploadData, metadata: nil) { (nil, err) in
          if let err = err {
              hud.dismiss()
              print("Failed to upload image to storage:", err)
              return
          }
  
          print("Finished uploading image")
          ref.downloadURL(completion: { (url, err) in
  
              hud.dismiss()
  
              if let err = err {
                  print("Failed to retrieve download URL:", err)
                  return
              }
  
              print("Finished getting download url:", url?.absoluteString ?? "")
  
              if imageButton == self.image1Button {
                  self.user?.imageUrl1 = url?.absoluteString
              } else if imageButton == self.image2Button {
                  self.user?.imageUrl2 = url?.absoluteString
              } else {
                  self.user?.imageUrl3 = url?.absoluteString
              }
          })
      }
  }
  </code></pre>