I know in swift how to pick Birthday Label from CNContactPickerViewController, but i am little bit confuse in Objective-c
Here i use code like:In Objective-c
How can i pick Birthday label in "didSelectContactProperty" method. Can you please help me out..
-(void)presentContacts {
    CNContactPickerViewController *picker = [[CNContactPickerViewController alloc] init];
    NSArray *propertyKeys = @[CNContactBirthdayKey, CNContactPhoneNumbersKey, CNContactGivenNameKey, CNContactFamilyNameKey, CNContactOrganizationNameKey];
    NSPredicate *enablePredicate = [NSPredicate predicateWithFormat:@"birthday != nil"];
    picker.displayedPropertyKeys = propertyKeys;
    picker.predicateForEnablingContact = enablePredicate;
    picker.delegate = self;
    [self presentViewController:picker animated:YES completion:nil];
}
- (void)contactPickerDidCancel: (CNContactPickerViewController *) picker {
    NSLog(@"didCancel");
}
- (void)contactPicker: (CNContactPickerViewController *) picker didSelectContact: (CNContact *)contact{    
    NSLog(@"didSelectContact");
}
- (void)contactPicker: (CNContactPickerViewController *) picker didSelectContactProperty: (CNContactProperty *)contactProperty{
     NSLog(@"didSelectProperty");
}
 
    