資源簡介
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個文件信息
- 上一篇:使用HTTP上傳文件到WEB服務器
- 下一篇:資源三號衛星影像正射校正
評論
共有 條評論