title: Implementing Unique ID as UUID and saving it in Keychain
body: <p>I need unique ID in my app and i know, we cannot use UDID anymore so as per my research, using UUID as device unique ID and saving it in keychain will ensure the unique id remain same even if user reinstalls my app.</p>
  
  <p>I found the below code from one of the answer to similar question here on stackoverflow however, i need to know how to access keychainUtils and IDManager? 
  Appreciate your help in advance.</p>
  
  <pre><code>+ (NSString *) getUniqueUUID {
      NSError * error;
      NSString * uuid = [KeychainUtils getPasswordForUsername:USER_NAME   andServiceName:SERVICE_NAME error:&amp;error];
      if (error) {
          NSLog(@"Error geting unique UUID for this device! %@", [error localizedDescription]);
          return nil;
      }
      if (!uuid) {
          DLog(@"No UUID found. Creating a new one.");
          uuid = [IDManager GetUUID];
          uuid = [Util md5String:uuid];
          [KeychainUtils storeUsername:kBuyassUser andPassword:uuid forServiceName:kIdOgBetilngService updateExisting:YES error:&amp;error];
          if (error) {
              NSLog(@"Error geting unique UUID for this device! %@", [error localizedDescription]);
              return nil;
          }
      }
      return uuid;
  }
  </code></pre>