摘要: 1 appdelegate.h 定义属性:window,navigationViewController@interface AppDelegate : UIResponder <UIApplicationDelegate>@property (strong, nonatomic) UIWindow *window;@property (strong, nonatomic) UINavigationController *navigationViewController;@end2 appdelegate.m对属性初始化,窗口初始化@implementation AppDelega 阅读全文
posted @ 2012-08-16 23:01 大树2 阅读(1540) 评论(0) 推荐(0) 编辑
摘要: 1 appdelegate.m#import"AppDelegate.h"#import"FirstViewController.h"#import"SecondViewController.h"#import"ThridViewController.h"{ self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]; // Override point for customization a 阅读全文
posted @ 2012-08-16 18:01 大树2 阅读(966) 评论(0) 推荐(0) 编辑
摘要: UIViewController use1 appdelegate.m - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]; // Override point for customization after application launc.. 阅读全文
posted @ 2012-08-16 17:11 大树2 阅读(378) 评论(0) 推荐(0) 编辑