ios - How to switch window view -
in app have 1 .xib file 3 window
s. i'm not using storyboard. change view between window
s 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:
Comments
Post a Comment