ios6 - Determine state of viewcontroller in storyboard -


i'd know how manage this:

i have 4 viewcontrollers in storyboard, each 1 has same class know how determine when change state fullscreen invisible , viceversa. hints?. btw have main view works evernote multiple tabs, , can switch between them want put different return buttons on each view, don't know begin.

you can find out size of window self.view.window.bounds , test against frame of viewcontrollers' view with:

cgrectcontainsrect(self.view.window.frame, myviewcontroller.view.frame) 

this return true if view on screen , false otherwise.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -