Re: [iPhone] Addressbook "group" problem
Re: [iPhone] Addressbook "group" problem
- Subject: Re: [iPhone] Addressbook "group" problem
- From: James Lin <email@hidden>
- Date: Mon, 13 Jul 2009 13:05:00 +0800
Hi,
Sorry I didn't frame my question more clearly...
The part I am having trouble with is finding out if a "group name"
already exists in the addressbook,
is there a way to do this? the ABGroup documentation has no function
that allows this...
any suggestions?
Thank you in advance...
James
On 2009/7/11, at 下午 9:36, Luke Hiesterman wrote:
The group doesn't have a name when you create it. Try setting the
name after creation rather than getting it.
Luke
Sent from my iPhone.
On Jul 11, 2009, at 12:50 AM, James Lin <email@hidden>
wrote:
Hi all,
Anyone familiar with the Addressbook framework?
I can't seem to be able to add a "group" into the addressbook only
ONCE.
if i use ABRecordRef group = ABGroupCreate(); to get a handle on
group,
calling NSString *groupName = (NSString
*)ABRecordCopyCompositeName(group);
returns a NULL.
so I can't seem to be able to check if a group name already exists
and don't have to re-create the group again.
Can you please help me and point me in the right direction?
How do I create group only "once"?
Thank you and best regards...
James
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden