title: Is this correct to check FaceID?
body: <blockquote>
    <p>Sorry, unavailability of iPhone-X.</p>
  </blockquote>
  
  <p>After the launch of iPhone-X, everyone wants their application should be compatible with iOS11 and with touchID but the problem is it's too expensive for a developer to test touch ID. </p>
  
  <p>I don't have iPhone to check my code but can I check the same in iOS simulator?</p>
  
  <pre><code>let context = LAContext()
  if ( context.biometryType == .typeFaceID ) {
        // Face ID
  }
  if ( context.biometryType == .typeTouchID) {
       // Touch ID
  } else {
      // Stone Age
  }
  </code></pre>