Latest 0.0.3
Homepage https://github.com/CoderDwang/DWAddressBook
License MIT
Platforms ios 8.0
Frameworks AddressBook, Foundation, UIKit
Authors
  • pod ‘DWAddressBook’

  • import "DWAddressBook.h"

    [DWAddressBook requestAddressBookAuthorization];
    
    DWAddressBook *addressbook = [[DWAddressBook alloc] initWithResultBlock:^(NSString *name, NSString *mobNumber) {
    self.label.text = [NSString stringWithFormat:@"%@n%@", name, mobNumber];
    } failure:^{
    NSLog(@"授权失败");
    }];
    [self presentViewController:addressbook animated:YES completion:nil];

gif

Latest podspec

{
    "name": "DWAddressBook",
    "version": "0.0.3",
    "summary": "DWAddressBook.",
    "description": "u9002u7528u4e8eiphoneu7aefu7684u901au8bafu5f55uff0cu6700u4f4eu9002u914diOS8.0",
    "homepage": "https://github.com/CoderDwang/DWAddressBook",
    "license": "MIT",
    "authors": {
        "CoderDwang": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/CoderDwang/DWAddressBook.git",
        "tag": "0.0.3"
    },
    "source_files": [
        "DWAddressBook",
        "DWAddressBook/**/*.{h,m}"
    ],
    "resources": "DWAddressBook/resources.bundle",
    "frameworks": [
        "AddressBook",
        "Foundation",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This