Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save person went to hash section #58

Open
hoandang opened this issue Jun 22, 2014 · 0 comments
Open

Save person went to hash section #58

hoandang opened this issue Jun 22, 2014 · 0 comments

Comments

@hoandang
Copy link

Every time when I save a person with only _firstname_, he somehow goes to hash section in address book ? Is that normal behaviour ?

I tried to create a contact in the apple contact app, it went correctly to alphabet section.

addressbook = [[RHAddressBook alloc] init];
RHPerson *new = [addressbook newPersonInDefaultSource];
new.firstName = @"TEST";
new.lastName = @"";

RHMutableMultiValue *phoneNumbers = [[RHMutableMultiValue alloc] initWithType:kABMultiStringPropertyType];
[phoneNumbers addValue:@"999999999" withLabel: RHPersonPhoneMobileLabel];
new.phoneNumbers = phoneNumbers;

[new save];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant