title: AVCaptureDevice.requestAccessForMediaType never pops up window and always return false
body: <p>I have some problem asking user for permission about camera. The <code>authorizationStatus</code> is always <code>NotDetermined</code>. When I tried to ask user for permission, <code>AVCaptureDevice.requestAccessForMediaType</code> never pops up a dialog and granted always returns <code>false</code>. I also can't find my app in settings - privacy - camera. </p>
  
  <p>Can anyone help me with that? really appreciated</p>
  
  <pre><code>let availableCameraDevices = AVCaptureDevice.devicesWithMediaType(AVMediaTypeVideo)
      for device in availableCameraDevices{
  
          if (device.position == .Back){
              backCameraDevice = device
          }else{
              if (device.position == .Front){
                  frontCameraDevice = device
              }
          }
      }
  
      let authorizationStatus = AVCaptureDevice.authorizationStatusForMediaType(AVMediaTypeVideo)
      switch authorizationStatus {
      case .NotDetermined:
          // permission dialog not yet presented, request authorization
          AVCaptureDevice.requestAccessForMediaType(AVMediaTypeVideo,
              completionHandler: { (granted:Bool) -&gt; Void in
                  if (granted == false) {
                      print(granted)
                  }
                  else {
                      print(granted)
                  }
          })
      case .Authorized: break
          // go ahead
      case .Denied, .Restricted: break
          // the user explicitly denied camera usage or is not allowed to access the camera devices
      }
  </code></pre>