Possible Duplicate:
Loading a view controller & view hierarchy programmatically in Cocoa Touch without xib
I know it can load via set MainWindow in Target Summary.
It show as

Is it possible to load MainWindow programmatically?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes you can.. here is how you will create it pragmatically,