摘要:
1 appdelegate.h 定义属性:window,navigationViewController@interface AppDelegate : UIResponder <UIApplicationDelegate>@property (strong, nonatomic) UIWindow *window;@property (strong, nonatomic) UINavigationController *navigationViewController;@end2 appdelegate.m对属性初始化,窗口初始化@implementation AppDelega 阅读全文
摘要:
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 阅读全文
摘要:
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.. 阅读全文