Getting UUID

Discussion in 'iOS Programming' started by arnieterm, Jan 21, 2009.

  1. arnieterm macrumors regular

    Joined:
    Aug 28, 2008
    #1
    Is it possible to get the Iphone's UUID within an iphone application [using objective c]? If yes then how??
    Thanks
    Arnieterm
     
  2. caveman_uk Guest

    caveman_uk

    Joined:
    Feb 17, 2003
    Location:
    Hitchin, Herts, UK
    #2
    Check the UIDevice documentation. It's in there.
     
  3. Jeremy1026 macrumors 68020

    Jeremy1026

    Joined:
    Nov 3, 2007
    #3
    Code:
    UIDevice *myDevice = [UIDevice currentDevice];
    NSString *deviceUDID = [myDevice uniqueIdentifier];
     

Share This Page