First of all, thank you for taking the time to check my questions. and Please forgive my poor English
NSString * appUID = (NSString *) [defaults objectForKey:kOpenUDIDAppUIDKey];
if(appUID == nil)
{
// generate a new uuid and store it in user defaults
CFUUIDRef uuid = CFUUIDCreate(NULL);
appUID = (NSString *) CFUUIDCreateString(NULL, uuid);
CFRelease(uuid);
}
The appUID from NSUserDefaults,but when i search the kOpenUDIDAppUIDKey, i found that the appuID was not stored;
Whether the code below should be changed
if (localDict && saveLocalDictToDefaults)
[defaults setObject:localDict forKey:kOpenUDIDKey];
First of all, thank you for taking the time to check my questions. and Please forgive my poor English
The appUID from NSUserDefaults,but when i search the kOpenUDIDAppUIDKey, i found that the appuID was not stored;
Whether the code below should be changed
changed like this