cxsjabc 发表于 2013-1-30 20:34:16

iphone-common-codes-ccteam源代码 CCContact.m

////CCContact.m//CCFC////Created by xichen on 11-12-16.//Copyright 2011年 ccteam. All rights reserved.//    #import "CCContact.h"      @implementation CCContact    // 调用联系人界面+ (ABPeoplePickerNavigationController *)          showAddressBookPeopleView:(id)delegate                              withId:(ABPropertyID)propertyId                            animated:(BOOL)animated{      ABPeoplePickerNavigationController *peoplePicker = ;      if(!peoplePicker)      {          return nil;      }      ;            //设置过滤属性      ]];            //显示联系人界面      ;      ;      return peoplePicker;}    // 调用新建联系人界面+ (ABNewPersonViewController *)showNewPersonView:(id)delegate                                          animated:(BOOL)animated{      ABNewPersonViewController *newPersonVew = ;      if(!newPersonVew)      {          return nil;      }            newPersonVew.newPersonViewDelegate = delegate;      ;            ;      return newPersonVew;}    @end

googlecode链接地址(会有更新):http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCContact.m
页: [1]
查看完整版本: iphone-common-codes-ccteam源代码 CCContact.m