I tried QuickContacts example in apple documentation.
I tried to show Contacts screen in a view controller (MyViewController) it is View based application.
1 > I added 2 frameworks AddressBook & AddressBookUI
2 > Add Navigation controller my View Controller
3 > & add both the files that is QuickContactViewController.h & QuickContactViewController.m in my application.
still it shows me 14 errors. show below...
please suggest me .. some solution on this ..
--------------------------
errors -------------------------------
"_ABAddressBookCopyPeopleWithName", referenced from:
-[QuickContactsViewController showPersonViewController] in QuickContactsViewController.
"_kABPersonBirthdayProperty", referenced from:
_kABPersonBirthdayProperty$non_lazy_ptr in QuickContactsViewController.o
(maybe you meant: _kABPersonBirthdayProperty$non_lazy_ptr)
"_ABRecordSetValue", referenced from:
-[QuickContactsViewController showUnknownPersonViewController] in QuickContactsViewController.
"_ABMultiValueCreateMutable", referenced from:
-[QuickContactsViewController showUnknownPersonViewController] in QuickContactsViewController.o
"_ABMultiValueAddValueAndLabel", referenced from:
-[QuickContactsViewController showUnknownPersonViewController] in QuickContactsViewController.o
"_OBJC_CLASS_$_ABNewPersonViewController", referenced from:
objc-class-ref-to-ABNewPersonViewController in QuickContactsViewController.o
"_OBJC_CLASS_$_ABPeoplePickerNavigationController" , referenced from:
objc-class-ref-to-ABPeoplePickerNavigationController in QuickContactsViewController.o
"_kABOtherLabel", referenced from:
_kABOtherLabel$non_lazy_ptr in QuickContactsViewController.o
(maybe you meant: _kABOtherLabel$non_lazy_ptr)
"_ABPersonCreate", referenced from:
-[QuickContactsViewController showUnknownPersonViewController] in QuickContactsViewController.o
"_kABPersonEmailProperty", referenced from:
_kABPersonEmailProperty$non_lazy_ptr in QuickContactsViewController.o
(maybe you meant: _kABPersonEmailProperty$non_lazy_ptr)
"_OBJC_CLASS_$_ABUnknownPersonViewController", referenced from:
objc-class-ref-to-ABUnknownPersonViewController in QuickContactsViewController.o
"_kABPersonPhoneProperty", referenced from:
_kABPersonPhoneProperty$non_lazy_ptr in QuickContactsViewController.o
(maybe you meant: _kABPersonPhoneProperty$non_lazy_ptr)
"_ABAddressBookCreate", referenced from:
-[QuickContactsViewController showPersonViewController] in QuickContactsViewController.o
"_OBJC_CLASS_$_ABPersonViewController", referenced from:
objc-class-ref-to-ABPersonViewController in QuickContactsViewController.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
I tried. Add address book into my application but one problem is when I drop call, it comes to the 'Phone" application. I wonder if there are ways that when I drop call, make the screen back to my application but not the iPhone native "Phone" application Thank you
by the way, it is said that "The application displays four cells labeled "Display Picker," "Create New Contact," "Display and Edit Contact," and "Edit Unknown Contact." Tap "Display Picker" to browse a list of contacts and choose a person from that list. Tap "Create New Contact" to create a new person. Tap "Display and Edit Contact" to display and edit a person. Tap "Edit Unknown Contact" to add data to an existing person or use them to create a new person."
If I understood correctly, if it is saying that I could put four buttons on the view. Thank you
"_OBJC_CLASS_$_ABPersonViewController", referenced from: objc-class-ref-to-ABPersonViewController in ...
I am trying to have the iphones original contact detail view in my application. However I could not do it. I have tried the methods suggested in this thread but I still get the same error.
Some of you said it is because of the frameworks. Could someone experienced tell how I can do it?
I am also open to other methods to have the same exact view. I have tried to mimic the view by using tables by it just does not look the same.