Odd. You should raise a bug for that one - thats normally one that Jeff/Rolf and co want to know about.
Unless you are doing something odd, like using iOS6 or the betas of XCode :) On Fri, Jun 29, 2012 at 2:50 PM, Alex White <[email protected]> wrote: > Actually tried your suggestion again and it worked this time, I am 100% > positive I tried that before, but I am having loads of intermittent problems > with mono at the moment, I seem to have days when I cannot upload anything to > my iPhone then it just starts working again. > > e.g. > > Installation failed: AMDeviceStartService returned: 0x0 (kAMDSuccess) > error MT1006: Could not install the application > '/Users/#########/Projects/WizPR/WizPR/bin/iPhone/Debug/WizPR.app' on the > device '': AMDeviceStartService returned: 0x0 (kAMDSuccess). > The application was terminated by a signal: SIGHUP > > thanks again. > > ATB > > Alex > > > On 29 Jun 2012, at 13:32, Nic Wise wrote: > >> Try it without the parent >> >> this.DismissModalViewControllerAnimated(true); >> >> works for me :) >> >> On Fri, Jun 29, 2012 at 6: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 >>> >> >> >> >> -- >> Nic Wise >> t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise >> b. http://www.fastchicken.co.nz/ >> >> Earnest: Self-employed? Track your business expenses and income. >> http://earnestapp.com >> Nearest Bus: find when the next bus is coming to your stop. >> http://goo.gl/Vcz1p >> mobileAgent (for FreeAgent): get your accounts in your pocket. >> http://goo.gl/IuBU >> Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa >> London Bike App: Find the nearest Boris Bike, and get riding! >> http://goo.gl/Icp2 > -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ Earnest: Self-employed? Track your business expenses and income. http://earnestapp.com Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p mobileAgent (for FreeAgent): get your accounts in your pocket. http://goo.gl/IuBU Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2 _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
