开发者

Example of iPad SplitView where there is an .xib file specified for Root Controller?

开发者 https://www.devze.com 2022-12-27 02:16 出处:网络
Is it possible to specify a xib file for the Ro开发者_JAVA百科otController of an iPad\'s splitview?Open the MainWindow-iPad.xib that is autogenerated with your project.You should be able to expand the

Is it possible to specify a xib file for the Ro开发者_JAVA百科otController of an iPad's splitview?


Open the MainWindow-iPad.xib that is autogenerated with your project. You should be able to expand the SplitViewController to display the viewControllers that are housed in it. You'll notice that the Detail side says something about "Loaded by DetailViewController.xib". You'll have to click the RootViewController icon and specify a nib name and make the necessary connections in Interface Builder.


I'm sure you found an answer already, but for folks who are reading this and want a good source, the Apple Sample COde "MultipleDetailView" uses a SplitView that goes to new nibs for the RootController...just use that as a guide!

0

精彩评论

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