This is an extension of another question found here: iPhone fetch data dictionary from keychain
As you can see there is a solution:
/*1*/ CFDictionaryRef cfquery = (__bridge_retained CFDictionaryRef)genericPasswordQuery;
/*2*/ CFDictionaryRef cfresult = NULL;
/*3*/ OSStatus status = SecItemCopyMatching(cfquery, (CFTypeRef *)&cfresult);
/*4*/ CFRelease(cfquery);
/*5*/ NSDictionary *result = (__bridge_transfer NSDictionary *)cfresult;
I'm quite new to iOS development and I can't quite work out where these lines of codes are supposed to go? Any help would be greatly appreciated.
Thanks,
Jack