title: What is the front camera's deviceUniqueID?
body: <p>I am trying to write an app that involves both front and rear camera and switching between them. As far as I understand, in the addVideoInput method, I have to change the IDs in</p>
  
  <pre><code>    AVCaptureDevice *videoDevice = [AVCaptureDevice deviceWithUniqueID:(NSString *)deviceUniqueID];
  </code></pre>
  
  <p>But which NSStrings are those IDs?</p>
  
  <p>Or, if it should be done in the other way, please, give a suggestion.</p>
  
  <p>Thank you for help!</p>