title: Get UDID in iOS 8 +
body: <p>I need to get the UDID of my iPhone to use in my iOS app. </p>
  
  <p>Some info about my app:</p>
  
  <ul>
  <li><p>My app is not for the public and will <strong>never make it to the store</strong>, so I can use any 3rd party libraries. It will only be used by some employees at work.</p></li>
  <li><p>My device will always be plugged into a Mac, while my app is running.</p></li>
  </ul>
  
  <p>The way I see it, there are only 2 ways this can be accomplished.</p>
  
  <ol>
  <li>Use a third party library to get the UDID inside of my iOS app.</li>
  <li>Since the iPhone will always be plugged into a Mac while my app is running, how about getting the UDID via the Mac and transferring it in some way to my app in the iPhone.</li>
  </ol>
  
  <p>Any ideas would be appreciated. Thanks.</p>
  
  <p>Edit: Question is, do you know any 3rd party libraries or a better way to get my app to automatically get the iPhone's UDID while running?</p>
  
  <p><strong>Edit 2:</strong> I know this can be done using only my phone because of this web app: <a href="http://get.udid.io/">http://get.udid.io/</a></p>
  
  <p>How does this work?</p>