Trying to make this work on iOS5


#1

So I am trying to make this app work on iOS 5. I created a MainWindow, set the AppDelegate as the delegate for the File Owner and the MainWindow as the window for the AppDelegate. I also, changed the window in AppDelegate to an IBOutlet. Finally, I created my view programmatically with initWithFrame and added it as a subview to the window. All it keeps telling me is I need a rootViewController, which I initially tried doing with no success either. Suggestions?


#2

Did you remember to set the Main Interface to MainWindow in the project settings?

Also, I’ve been getting a warning about the rootViewController in all of my projects but have had no issues. You can safely ignore it as far as I know.


#3

If you use Xcode 4.2,
this short U Tube tutorial http://www.youtube.com/watch?v=sROdA4w4x9Y may help.