title: Finding IMEI number using Objective-C
body: <p>I need to find a way to get the IMEI number of an <code>iPhone</code> device. This question is not a duplicate.</p>
  
  <p>I have gone through several forums including SO, and had no luck finding an answer.</p>
  
  <p>Some say Apple doesn't allow developers to see the <code>IMEI</code> number (<a href="https://stackoverflow.com/questions/193182/programmatically-get-own-phone-number-in-ios">SO post</a>), and some say to use <code>UDID</code> instead (<a href="https://stackoverflow.com/questions/16667988/how-to-get-imei-on-iphone-5">SO post</a>). Some say that <code>UDID</code> is deprecated (in iOS 7). </p>
  
  <p>I need to know the following:</p>
  
  <p>1.)  Does <code>Apple</code> permit developers to retrieve the <code>IMEI</code> number of the device?</p>
  
  <p>2.)  How can i programatically do it?</p>
  
  <p>3.)  In case if Apple doesn't allow developers to gather the <code>IMEI</code> number, do they provide any other unique number for the device? </p>
  
  <p>4.) Some suggest to use <code>Telephony framework</code>. If i do so, will apple reject my application?</p>