Can someone please help me with this?

I have an Objective C application that accesses contact book; builds a list of user name, email id and their picture; displays it on screen using a list. 

I want to automate test of this functionality using Instruments. I want to retrieve the list of users from the Tableview on screen. This works. From this list, I also get the email id and the picture. What I want to do now is to be able to take this contact data and validate it against the Contact book. However, I do not see how I can call an Objective C function to do so from Javascript. 

Thanks in advance.