Hi,

I can't get my head round how to code the a modal view controller.

in my calling code

_streetview = new StreetviewiPhone(url,true, "RevisionPointsiPhone");
this.NavigationController.PresentModalViewController(_streetview, true);

which I guess is right?

then in the called view controller

public void btnClose_Clicked(object sender, EventArgs e) {
        this.ParentViewController.DismissModalViewControllerAnimated(true);
}

but this does not work??, any pointers?

thanks


Alex



_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to