Users Pricing

forum

Home Forums How to convert return value of ABMuliValueCopyLabelAtIndex into NSString in iOS – MindStick

How to convert return value of ABMuliValueCopyLabelAtIndex into NSString in iOS

Anonymous User 1741 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?

1 Answers

Tarun Kumar 05 Dec 2015 Accepted Answer
Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md