Hi Andreas,

You could subclass DialogViewController and override the ViewWillDisappear()
and/or ViewDidDisappear() methods.

Hope that helps!

Jeff

On Wed, Oct 19, 2011 at 10:05 AM, Andreas Ploetzeneder <
[email protected]> wrote:

>  public class LoginView
>
> {
>
>  public DialogViewController dv;
>
>  public LoginView ()
>
>  {
>
>    var root = CreateRoot ();
>
>   dv = new DialogViewController (root, true);
>
>    }
>
>  RootElement CreateRoot ()
>
>  { return new RootElement ("Settings") {
>
>   new Section (){
>
>   new BooleanElement ("Airplane Mode", false),
>
>   new RootElement ("Notifications", 0, 0) {
>
>    new Section (null, "Turn off Notifications to disable Sounds\n" +
>
>         "Alerts and Home Screen Badges for the\napplications below."){
>
>    new BooleanElement ("Notifications", false)
>
>    }
>
>   }}} ;
>
>  }
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to