DMContactBook 1.0.2

DMContactBook 1.0.2

Agoer 维护。



  • liergou

DMContactBook

使用

项目包含 iOS 的示例应用程序。以下是一个简单的使用模式

  [DMGetAddressBook getAllAddressBookDataViaJSON:^(NSString *json) {
        NSLog(@"%@",json);
    }];
    
//json result
{
  "msg" : "授权成功",
  "code" : "1",
  "dataArray" : [
    {
      "number" : "无号码",
      "org" : "",
      "familyName" : "A",
      "type" : "未知类型",
      "note" : "",
      "fullName" : "A",
      "nickyName" : "Z未命名昵称"
    },
    {
      "number" : "无号码",
      "org" : "",
      "familyName" : "B",
      "type" : "未知类型",
      "note" : "",
      "fullName" : "B",
      "nickyName" : "Z未命名昵称"
    },
    {
      "number" : "无号码",
      "org" : "",
      "familyName" : "C",
      "type" : "未知类型",
      "note" : "",
      "fullName" : "C",
      "nickyName" : "Z未命名昵称"
    },
    {
      "number" : "18888854486",
      "org" : "",
      "familyName" : "名字",
      "type" : "Home",
      "note" : "",
      "fullName" : "名字",
      "nickyName" : "Z未命名昵称"
    },
    {
      "number" : "18214148525",
      "org" : "",
      "familyName" : "Nznzb",
      "type" : "Home",
      "note" : "",
      "fullName" : "Nznzb",
      "nickyName" : "Z未命名昵称"
    },
    {
      "number" : "15532308745",
      "org" : "",
      "familyName" : "Nznzb",
      "type" : "Work",
      "note" : "",
      "fullName" : "Nznzb",
      "nickyName" : "Z未命名昵称"
    },
    {
      "number" : "18888854381",
      "org" : "",
      "familyName" : "Z未命名姓氏",
      "type" : "Home",
      "note" : "",
      "fullName" : "Z未命名",
      "nickyName" : "Z未命名昵称"
    }
  ]
}

安装

要使用 CocoaPods 安装,请将以下内容添加到您的项目 Podfile 中

pod 'DMContactBook', '~>1.0.1'

许可

DMContactBook 在 MIT 许可下发布。有关详细信息,请参阅 LICENSE 文件。