ここを参考.以下,抜粋.
[window makeKeyAndVisible];
Xcode ->新規ファイル->CocoaTouchClasses->UIViewControler subclass
@class MyViewController; @interface MyAppDelegate : NSObject <uiapplicationdelegate> { UIWindow *window; MyViewController *myViewController; } @property (nonatomic, retain) IBOutlet UIWindow *window; @property (nonatomic, retain) MyViewController myViewController; @end