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.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to