uibuilder - How do you launch a second MainWindow.xib in an iPad application? -


how launch second mainwindow.xib in ipad application?

you load nib, using nsbundle, , call makekeyandvisible on window in nib. best way window use outlet in object loading nib.

[[nsbundle mainbundle] loadnibnamed:@"secondwindow" owner:self options:nil]; [self.secondwindow makekeyandvisible]; //assuming window connected property named secondwindow 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -