Users Pricing

forum

home / developersection / forums / how to type-cast abrecordref into nsnumber in ios

How to type-cast ABRecordRef into NSNumber in iOS

Anurag Sharma 1626 02 Dec 2015
I have successfully get device contact ID using this code:
ABRecordRef contactPerson = (__bridge ABRecordRef) allContacts[i];
but now my problem is how can I type-cast ABRecordRef value into NSNumber.
How can I solve this problem.

1 Answers