How to import contacts from Mac OS X AddressBook into iPhone Simulator

后端 未结 6 656
轻奢々
轻奢々 2021-02-06 01:51

Is there a way to import contacts automatically from my Mac OS X Address Book into the iPhone Simulator Contacts app? Or vCards or anything like that? I\'m building an app that

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-06 02:13

    You can do this very simple:

    1. Just download this app: https://github.com/aussiegeek/AddressBookVcardImport

    2. Create a vCard with all the contacts you want to import and name it "vCards.vcf"

    3. Add this file to the XCode Project and run it on the simulator.

提交回复
热议问题