title: How to get UDID of iOS Device Programmatically in iOS 7
body: <p>i am using the below code to display the UDID of the device.
  But its displaying the null value </p>
  
  <p>i.e. 2014-05-12 11:56:06.896 LoginScreen[195:60b] deviceUDID: (null)</p>
  
  <pre><code>NSUUID *deviceId;
  deviceId = [UIDevice currentDevice].identifierForVendor;
  NSLog(@"deviceUDID: %@",deviceID);
  </code></pre>
  
  <p>Sorry to all of you. I made a silly mistake</p>
  
  <p>Here NSUUID instance is deviceId and i am printing deviceID in NSLog :)</p>
  
  <p>Now it is working for me. Thanks to everyone</p>