forum

Home / DeveloperSection / Forums / How to convert return value of ABMuliValueCopyLabelAtIndex into NSString in iOS

How to convert return value of ABMuliValueCopyLabelAtIndex into NSString in iOS

Anonymous User 1385 02-Dec-2015
I have a problem in with my contact type in iOS, I have successfully fetch phone number type like work, mobile, home, etc. using this code:
NSString *cellT = (__bridge NSString*) ABMultiValueCopyLabelAtIndex(numbersArr, j);
NSLog(@"Contact Type: %@", cellT);
this code will print:
_$!<Work>!$_

But I want only Work to display, how can I do this?

Updated on 05-Dec-2015
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By