Users Pricing

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 1649 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?

I am a content writter !


1 Answers

Tarun Kumar 05 Dec 2015 Accepted Answer