开发者

iPad: Launch MainWindow.xib's primary view without using InterfaceBuilder confi

I get really confused using InterfaceBuilder to setup the main window xib file's primary controller view. Is there a good example or simple way to launch the ViewController 开发者_如何转开发I want to show by default in the Application Delegate instead of setting it up in InterfaceBuilder's MainWindow.xib file?


you can show your view by code as

FirstViewController *fvc = [[FirstViewController alloc] init];

[window addSubView:fvc];

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜