• 大小: 31KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-01
  • 语言: 其他
  • 标签: ios  通讯录  

资源简介

ios开发,通过按钮调用通讯录,获得通讯录中的联系人的手机号码

资源截图

代码片段和文件信息

//
//  AddressBookDemoAppDelegate.m
//  AddressBookDemo
//
//  Created by admin on 11-10-31.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import “AddressBookDemoAppDelegate.h“

#import “AddressBookDemoViewController.h“

@implementation AddressBookDemoAppDelegate


@synthesize window=_window;

@synthesize viewController=_viewController;

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    // Override point for customization after application launch.
     
    self.window.rootViewController = self.viewController;
    [self.window makeKeyAndVisible];
    return YES;
}

- (void)applicationWillResignActive:(UIApplication *)application
{
    /*
     Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
     Use this method to pause ongoing tasks disable timers and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
     */
}

- (void)applicationDidEnterBackground:(UIApplication *)application
{
    /*
     Use this method to release shared resources save user data invalidate timers and store enough application state information to restore your application to its current state in case it is terminated later. 
     If your application supports background execution this method is called instead of applicationWillTerminate: when the user quits.
     */
}

- (void)applicationWillEnterForeground:(UIApplication *)application
{
    /*
     Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
     */
}

- (void)applicationDidBecomeActive:(UIApplication *)application
{
    /*
     Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background optionally refresh the user interface.
     */
}

- (void)applicationWillTerminate:(UIApplication *)application
{
    /*
     Called when the application is about to terminate.
     Save data if appropriate.
     See also applicationDidEnterBackground:.
     */
}

- (void)dealloc
{
    [_window release];
    [_viewController release];
    [super dealloc];
}

@end

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-10-31 15:38  AddressBookDemo\
     目录           0  2011-10-31 15:44  AddressBookDemo\AddressBookDemo\
     文件        1065  2011-10-31 15:38  AddressBookDemo\AddressBookDemo\AddressBookDemo-Info.plist
     文件         336  2011-10-31 15:38  AddressBookDemo\AddressBookDemo\AddressBookDemo-Prefix.pch
     目录           0  2011-10-31 15:45  __MACOSX\
     目录           0  2011-10-31 15:45  __MACOSX\AddressBookDemo\
     目录           0  2011-10-31 15:45  __MACOSX\AddressBookDemo\AddressBookDemo\
     文件         171  2011-10-31 15:38  __MACOSX\AddressBookDemo\AddressBookDemo\._AddressBookDemo-Prefix.pch
     文件         452  2011-10-31 15:38  AddressBookDemo\AddressBookDemo\AddressBookDemoAppDelegate.h
     文件         171  2011-10-31 15:38  __MACOSX\AddressBookDemo\AddressBookDemo\._AddressBookDemoAppDelegate.h
     文件        2439  2011-10-31 15:38  AddressBookDemo\AddressBookDemo\AddressBookDemoAppDelegate.m
     文件         171  2011-10-31 15:38  __MACOSX\AddressBookDemo\AddressBookDemo\._AddressBookDemoAppDelegate.m
     文件         485  2011-10-31 15:43  AddressBookDemo\AddressBookDemo\AddressBookDemoViewController.h
     文件         171  2011-10-31 15:43  __MACOSX\AddressBookDemo\AddressBookDemo\._AddressBookDemoViewController.h
     文件        2858  2011-10-31 15:44  AddressBookDemo\AddressBookDemo\AddressBookDemoViewController.m
     文件         171  2011-10-31 15:44  __MACOSX\AddressBookDemo\AddressBookDemo\._AddressBookDemoViewController.m
     目录           0  2011-10-31 15:41  AddressBookDemo\AddressBookDemo\en.lproj\
     文件       11196  2011-10-31 15:41  AddressBookDemo\AddressBookDemo\en.lproj\AddressBookDemoViewController.xib
     文件          45  2011-10-31 15:38  AddressBookDemo\AddressBookDemo\en.lproj\InfoPlist.strings
     目录           0  2011-10-31 15:45  __MACOSX\AddressBookDemo\AddressBookDemo\en.lproj\
     文件         171  2011-10-31 15:38  __MACOSX\AddressBookDemo\AddressBookDemo\en.lproj\._InfoPlist.strings
     文件       20089  2011-10-31 15:38  AddressBookDemo\AddressBookDemo\en.lproj\MainWindow.xib
     文件         171  2011-10-31 15:38  __MACOSX\AddressBookDemo\AddressBookDemo\en.lproj\._MainWindow.xib
     文件         360  2011-10-31 15:38  AddressBookDemo\AddressBookDemo\main.m
     文件         171  2011-10-31 15:38  __MACOSX\AddressBookDemo\AddressBookDemo\._main.m
     目录           0  2011-10-31 15:40  AddressBookDemo\AddressBookDemo.xcodeproj\
     文件       21141  2011-10-31 15:40  AddressBookDemo\AddressBookDemo.xcodeproj\project.pbxproj
     目录           0  2011-10-31 15:38  AddressBookDemo\AddressBookDemo.xcodeproj\project.xcworkspace\
     文件         160  2011-10-31 15:38  AddressBookDemo\AddressBookDemo.xcodeproj\project.xcworkspace\contents.xcworkspacedata
     目录           0  2011-10-31 15:38  AddressBookDemo\AddressBookDemo.xcodeproj\project.xcworkspace\xcuserdata\
     目录           0  2011-10-31 15:45  AddressBookDemo\AddressBookDemo.xcodeproj\project.xcworkspace\xcuserdata\admin.xcuserdatad\
............此处省略19个文件信息

评论

共有 条评论