application crashes while adding contacts

You must Login before you can answer or comment on any questions.

HI ALL,

I am trying to add contacts to contact book, but the iPhone application gets crashed without any error display.

below is by code

var contact = Titanium.Contacts.createPerson

({

firstName:firstName,

lastName:lastName,

email:email,

phone:{"home":[mobileno]

}

I am using titanium 1.8.1 studio with ios 5.0 simulator.

Please suggest how to resolve this issue.

2 Answers

If this is happening on a device then the Xcode console will show you more crash details. Can you post them ?

Have you tried cleaning the project before running it?

Your Answer

Think you can help? Login to answer this question!