iphone - Creating an Address Book UI Similar to iPad's 'Contacts' App -
I am writing an app for the iPad that the user has to select the contact from the address book and enter new contacts. Will allow - these new contacts can be saved back in the address book, some can live in my local database What I would like to do is create an interface that looks like Apple's Contacts app. When I look at the Address Book UI API, it seems that this UI was specifically designed for the iPhone. For me, it seems that I have three options: 1) Address book NAD controller is allowed to hijack on full screen (and I'm not sure how to get my locally stored contact list) 2) Address Book UI a popover 3) Access the address book directly and create your own UI from scratch. is this correct? Creating a list of contacts is easy, but "new contact" UI will be troublesome. Can I at least not use ABNepers View Controller in any subview?
Apple you would like to use their abderracebook apple docs (address book programming) The most preferred way is to maintain a link using the record id for any such people for the actual address book that you are working locally, which are also in the real address book. Apple suggests to store the record ID, first name, last name and overall name in your local database. Additionally you will store specific data for your app.
You can use people's representative methods to handle things on a person.
A method when you are using record id, ABAddressBookGetPersonWithRecordID Which will return a person's record if someone will be present in the real address book, then you can edit them from
ABPersonViewController . One option will be to use the
ABUnknownPersonViewController for any time that there is no matching ID record.
Comments
Post a Comment