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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -