title: UIImagePickerController and info.plist issue
body: <p>In my project I tried to add two things:</p>
  
  <ol>
  <li>A camera source for a person's avatar.</li>
  <li>add permission for the camera and photo library access in the <strong><em>info.plist</em></strong> file.</li>
  </ol>
  
  <p>But when I tried to test my app in a real device the app doesn’t show any permission, and when I chose the camera the app exit without error message in the log console?</p>
  
  <p>For the info.plist I use this two line:</p>
  
  <pre><code>&lt;key&gt;NSCameraUsageDescription&lt;/key&gt;
  &lt;string&gt;$(PRODUCT_NAME) camera use&lt;/string&gt;
  &lt;key&gt;NSPhotoLibraryUsageDescription&lt;/key&gt;
  &lt;string&gt;$(PRODUCT_NAME) photo use&lt;/string&gt;
  </code></pre>
  
  <p>And add a photo I use this code:</p>
  
  <pre><code>@objc func addNewPerson(){
      let picker = UIImagePickerController()
  
      let ac = UIAlertController(title: "Choose image", message: nil, preferredStyle: .actionSheet)
  
      let camera = UIAlertAction(title: "Camera", style: .default){
          [weak self] _ in
          if UIImagePickerController.isSourceTypeAvailable(.camera) {
              picker.allowsEditing = false
              picker.delegate = self
              picker.sourceType = .camera
              self?.present(picker,animated: true)
          }else{
              let alert  = UIAlertController(title: "Warning", message: "You don't have camera", preferredStyle: .alert)
              alert.addAction(UIAlertAction(title: "OK", style: .default, handler: nil))
              self?.present(alert, animated: true, completion: nil)
          }
      }
      ac.addAction(camera)
  
      let galerie = UIAlertAction(title: "Photo library", style: .default){
          [weak self] _ in
              picker.allowsEditing = true
              picker.delegate = self
          self?.present(picker,animated: true)
      }
      ac.addAction(galerie)
  
      ac.addAction(UIAlertAction(title: "Cancel", style: .cancel))
  
      present(ac,animated: true)   
  }
  </code></pre>
  
  <p>Thank you. </p>