title: Checking whether the user is using an iPhone or and iPad in Xamarin.Forms
body: <p>I have been looking around for a while, and I cannot figure out how to check whether the user has an iPad or an iPhone?</p>
  
  <p>I am using Xamarin.Forms, and I have no need to check whether the Android device is a tablet or phone as the issue does not resolve around Android.</p>
  
  <hr>
  
  <p>Code which I have found that could be helpful:</p>
  
  <pre><code>var idiom = UIKit.UIDevice.CurrentDevice.UserInterfaceIdiom;
  </code></pre>
  
  <p>Thanks for your time!</p>