0

I have an app that retrieve employees info from a database (name,number,email,etc..) .

So is there a library or framework to create new contacts or modifying them and adding them to the contacts app in iOS using swift?

enter image description here

if I want to show employee contact coming from database , should I create UI like this or I there is a library to this ?

Zizoo
  • 1,694
  • 5
  • 20
  • 42
  • @Pekka 웃 yes I did I know about apple Contacts framework but what I meant is the UI .is there a library providing same UI like contacts app in iOS – Zizoo Sep 06 '16 at 10:25

1 Answers1

2

Basically what are you looking for is Contacts framework(iOS 9+). It is provided by Apple and it allows you to create, edit or delete contacts on iOS.

Here you can find documentation. And here you can find decent guide to how to use it.

For versions iOS lower than 9, you can use AddressBook framework. Documentation. Guide.

Pavel Gatilov
  • 2,570
  • 2
  • 18
  • 31
  • ok thank you , so I need to create UI by myself at the end like in the question ? – Zizoo Sep 06 '16 at 10:21
  • @Zizoo As far as I know, there is no default ViewController that you can just use, as UIImagePicker or something, so unfortunately you have to create your own UI. – Pavel Gatilov Sep 06 '16 at 10:23
  • 2
    iOS provides UI in the ContactsUI framework. There is CNContactPickerViewController and CNContactViewController. – Felix Sep 06 '16 at 10:28
  • @phix23 Thank you so much , that's what I want , shouldn't your comment be an answer ? or just stupid question :) – Zizoo Sep 06 '16 at 10:44