Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 17th, 2012  |  syntax: None  |  size: 0.41 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to fnd UUID by programming in iphone?
  2. NSString *udid = [[UIDevice currentDevice] uniqueIdentifier];
  3.        
  4. UIDevice *device = [UIDevice currentDevice];
  5. NSString *uniqueIdentifier = [device uniqueIdentifier];
  6.        
  7. NSString *uuid = [[UIDevice currentDevice] uniqueIdentifier];
  8.        
  9. NSString * UDID = [[UIDevice currentDevice] uniqueIdentifier];
  10. UDID = [UDID stringByReplacingOccurrencesOfString:@"-" withString:@""];