title: Camera (AVFoundation new APIs) classes for iOS 10 does not found
body: <p>I am facing the error: No known method for selector </p>
  
  <blockquote>
    <p>defaultDeviceWithDeviceType:mediaType:position:</p>
  </blockquote>
  
  <p>While documentation for this method is given at:
  <a href="https://developer.apple.com/reference/avfoundation/avcapturedevice/2361508-defaultdevicewithdevicetype" rel="nofollow">AVCap</a></p>
  
  <p>When I call this method, it shows error that method not found. My code is: </p>
  
  <pre><code>AVCaptureDevice *device = [AVCaptureDevice defaultDeviceWithDeviceType: AVCaptureDeviceTypeBuiltInDuoCamera
                                              mediaType: AVMediaTypeVideo
                                               position: AVCaptureDevicePositionBack];
  </code></pre>
  
  <p>Here are all the version details:
  MacOS: 10.11.5,
  xCode: 8.0 beta,
  iOS: 10.0.1</p>