[MonoTouch] ViewDidAppear() not called after app entering foreground?
jowi
j.wiersma17 at chello.nl
Mon Oct 17 16:56:51 EDT 2011
I think i found a solution to check for being the active view. In the
notification handler i check if the view is actually loaded (!), and if the
view is the current view, the View.Window property should be a non null
value:
/void EnteredForeground(NSNotification notification){
//check if we are the active view
if(IsViewLoaded && View.Window!=null){
//do stuff here
}
}/
Seems to do the trick :)
--
View this message in context: http://monotouch.2284126.n4.nabble.com/ViewDidAppear-not-called-after-app-entering-foreground-tp3911263p3913399.html
Sent from the MonoTouch mailing list archive at Nabble.com.
More information about the MonoTouch
mailing list