ios - How to switch window view -


in app have 1 .xib file 3 windows. i'm not using storyboard. change view between windows when pressing button, used code:

-(ibaction) switchview1 {      [window sethidden:no];     [window1 sethidden:yes];     [window2 sethidden:yes]; } 

however i'm having problems. there alternative case?

thank in advance.

yes, window, window1 , window2 instances of uiwindow

an ios app has 1 uiwindow. created @ app launch , never changes. not otherwise. wrong, foolish, , unnecessary. is, quite simply, not how ios programming done.

see answer here, documentation citations:

https://stackoverflow.com/a/15909159/341994


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -