ios6 - Initializing 'ABMultiValueRef *' (aka 'const void **') with an expression of type 'CFTypeRef' -
i following warning under arc:
initializing 'abmultivalueref *' (aka 'const void **') expression of type 'cftyperef' (aka 'const void *') discards qualifiers. on line
abmultivalueref *phones = abrecordcopyvalue(abperson, kabpersonphoneproperty); abperson of abrecordref type.
what's wrong code?
p.s. checked , works perfectly
abrecordcopyvalue returns cftyperef. must cast values particular reference type want.
Comments
Post a Comment