I have tried using the CNContactPickerViewController. It works fine when all the contacts need to be displayed or when I need to filter based on standard fields. But, I want to be able to filter based on a custom property. In this case I want to only show contacts that have been validated on the server. I can get the list of contacts that have been validated. How do I filter the CNContactPicker to only show these contacts?
Related
I have an app that uses multiple text fields in which user provides their address and personal data (name, surname etc.).
I know that there is a property called textContentType on a UITextField. If I set it, the bar above the keyboard suggests the data correctly. But since the user has to go to the next text field manually, autofilling one field doesn't autofill all.
Is there a way to implement autofilling all fields the same way it's done on Safari, or in other places in the system, where user autofills only one field and then the form fills with selected contact data? Or would I have to use the Contacts framework to get the user's contact card?
In my app I am using google's autocomplete query. Do I have to show "powered by Google" logo somewhere? Is it a restriction?
Update
I will just explain how I am using it. I have a signup form and I have multiple fields for Address 1st line, 2nd line, city, State, Zip.
When the user starts entering address in 'Address 1st line' text field, I show a dropdown/tableview with suggestions. And when user selects one of them, I populate remaining fields like city, state, zip.
Questions:
Do I have to show logo
Where to show the logo if yes
According to them, yes you do:
When displaying data from the Google Places API for iOS, such as autocomplete results or place name and address, there are some attribution and Google logo requirements you must comply with.
The attribution and logo requirements fall into the following categories:
A Google map, if a map is displayed.
The 'Powered by Google' attribution.
Attributions for content supplied by third parties.
Emphasis mine. More specifically:
If your application displays Places API data on a page or view without a Google Map, you must show a 'Powered by Google' image with that data.
ABAddressBookCopyArrayOfAllPeople(addressBook) loads all contacts from all contact groups.
ABAddressBookCopyArrayOfAllPeopleInSource(addressBook, defaultSourceRef) loads contacts from just the default address book.
Is there any way to just load contacts from user selected groups in the contacts groups?
Using ABAddressbook, you can access all contacts in your app, Now, It's depends on you, Which contacts you want to show to user. If you want to show any selected contacts, You have to get selected contacts from your app only, After that you can exclude other contact from main contact list which you want to display.
Finally, It's possible to view selected contacts, But You've to select those contacts from you app only, And it's depends on your logic.
Regards,
I am working on an app and need to make the user enter information like name, phone, address etc. Inside my app is it possible to show the contact list (Address book) and make the user pick the contact he wants to use. I am specifically hoping to find a way that also give me the UI and search functionality within the contacts just like the regular contacts list. So when the user wants to enter the information, I show him the contacts list (with the same UI/functionality or a subset of it) and let him pick the contact. Is there a way to do this in iOS?
Address book is there. USe that .
This answer can help you.
Get a list of all contacts on iOS
Fetch Contacts in iOS 7
How to simply retrieve list of Contacts in iOS7?
If, you want a tutorial, here is the link Tutorial link
I am new in handling apps that will be connecting with Facebook.
I want to let my user log in my app with Facebook account and be able to send something, for example, a gift to their Facebook friends.
I want to get the user's friends list and which is very easy by using FBFriendPickerViewController. However, I want to have an effect that if their Facebook friend(s) is/are also using my app, the app icon will be shown at the right hand side of the user table cell (Just like some Phone Contact lists will show if the contact has Whatsapp/ Google+)
I have been searching through sites but still find nothing about this.
So my question is, is there any "official" way (using Facebook SDK method) to show the icon?
Or I have been thinking of another approach is that, I first get the friend list and then saved it, with the information that whether the "friend" is using my app or not. Then I create a custom friend picker view and check the condition to enable/disable the visibility of the app icon.
I can get the information by using approached of using GraphAPI fields or using external database, for which are mentioned in this , this and this .....
Anybody help?
Ok I end up with customizing my own table view... : )