you probably need to do the Dismiss in the main UI thread
On Fri, Jun 29, 2012 at 12:44 AM, Alex White <[email protected]> wrote:
> 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
>
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch