Hi,
I'm beginner with iPhone and want to know how to add a view in a window based application.
I crate the application, then I added the ViewControler+XIB to my project. I include the .h file in both AppDelegate-Files.
Then I create a object of the View "StartViewController" with
StartViewController *startView;
and add the property in the AppDelegate.h file:
@property (nonatomic, retain) StartViewController *startView;
In the AppDelegate.m I add:
@synthessize startViewController
and in the application method:
[window addSubview:startViewController.view];
But it doesn't appear when I start the application, what I forgot?