开发者

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

开发者 https://www.devze.com 2023-02-21 21:32 出处:网络
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

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

精彩评论

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