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

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -