Wednesday, January 28, 2015

objective-c unique identifier for each iOS device

 if ([[UIDevice currentDevice] respondsToSelector:@selector(identifierForVendor)]) {
        
       str1=[NSString stringWithFormat:@"%@",
                             [[[UIDevice currentDevice] identifierForVendor] UUIDString]];
             

         }

No comments:

Post a Comment