ios - how to cast an indirect pointer in Objective-C -
i trying work on keychain , following tutorial here unfortunately getting following error talks searching keychain
cast of indirect pointer objective-c pointer 'cftyperef *' (aka 'const void **') disallowed arc
this code looks like
osstatus status = secitemcopymatching((__bridge cfdictionaryref)searchdictionary,(cftyperef *)&result);
any providing correct code on how cast indirect pointer appreciated.
use void * instead:
osstatus status = secitemcopymatching((__bridge cfdictionaryref)searchdictionary,(void *)&result);
Comments
Post a Comment