Yup, I'm told the GC in MT5 is a bit more agressive, so this isn't going to
work anymore:

using (var alert = UIAlertView(etc))
{
  //hook up the alert view
  alert.Show();
}

just move the decl of alert outside of the method (ie, at class level)

On Tue, Nov 1, 2011 at 15:49, David Black <david.bl...@casewise.com> wrote:

> That’s what I went with and it appears stable. Still getting random
> crashes on IOS 5 but I have tracked a few of them down and no-doubt will
> get the others in time.****
>
> ** **
>
> BTW: On pattern that used to work and now crashes in IOS 5 with a near
> 100% regularity is to use a UIAlertView in a using clause.  With a delegate
> method to handle the click event. If the delegate accesses the alert it all
> goes south as I guess the control has passed out of the using and the
> control under the bonnet has been released.****
>
> ** **
>
> ** **
>
> D.****
>
> ** **
>
> ** **
>
> ** **
>
> *David Black*
>
> *Technical Manager **(**Web projects**)***
>
> Casewise Systems Ltd |  www.casewise.com ****
>
> +44 1923 830300 office****
>
> +44 1923 830270 direct****
>
> 64 Clarendon Road, Watford WD17 1DA*
> **[image: Description: Description: Description: Description:
> Description: Description: Description: Description: Description:
> Description:
> C:\Users\kevin.caruso\Documents\mindSHIFT\sm-logos-signature\facebook.jpg]
> * <http://www.facebook.com/casewise#!/pages/Casewise/471345470297>*[image:
> Description: Description: Description: Description: Description:
> Description: Description: Description: Description: Description:
> C:\Users\kevin.caruso\Documents\mindSHIFT\sm-logos-signature\linkedin.jpg]
> * <http://www.linkedin.com/company/16238?trk=saber_s000001e_1000>*[image:
> Description: Description: Description: Description: Description:
> Description: Description: Description: Description: Description:
> C:\Users\kevin.caruso\Documents\mindSHIFT\sm-logos-signature\twitter.jpg]*<http://twitter.com/#!/casewise>
> *[image: Description: Description: Description: Description: Description:
> Description: Description: Description: Description: Description:
> C:\Users\kevin.caruso\Documents\mindSHIFT\sm-logos-signature\youtube.jpg]*<http://www.youtube.com/user/CasewiseLimited?blend=1&ob=5>
> **
>
> *“When You Can See More, You Can Do More!”*
>
> * *
>
> * **[image: 
> Communicator4Word-Email-Banner.png]*<http://www.casewise.com/products/communicator>
> ****
>
> ** **
>
> *From:* Nic Wise [mailto:n...@fastchicken.co.nz]
> *Sent:* 27 October 2011 16:56
> *To:* David Black
> *Cc:* MonoTouch@lists.ximian.com
> *Subject:* Re: [MonoTouch] Best of breed****
>
> ** **
>
> Absolutely would. MT5, XCODE 4.2 (or whatever the iOS5 RTM/GM version is),
> MD2.8.1 (latest) etc.****
>
> ** **
>
> However, make sure you have an older 4.x device to test on, just incase. I
> have a iPhone 3G-era iPod Touch I use for this, with iOS 4.2 on.****
>
> ** **
>
> On Thu, Oct 27, 2011 at 15:45, David Black <david.bl...@casewise.com>
> wrote:****
>
>  ****
>
> Hi All****
>
>  ****
>
> I just renewed my license for monotouch and I want to get with the latest
> best configuration of the OS X tool-chain. Does anyone have any
> recommendations? What version should I be looking at for XCode, mtouch and
> monodevelop (actually that’s a bit set in stone as I upgraded to 2.8 and it
> changed the project file).****
>
>  ****
>
> Would you guys recommend mtouch 5 and XCode 4.2?****
>
>  ****
>
> D****
>
>  ****
>
>  ****
>
>  ****
>
> *David Black*****
>
> *Technical Manager **(**Web projects**)*****
>
> Casewise Systems Ltd |  www.casewise.com ****
>
> +44 1923 830300 office****
>
> +44 1923 830270 direct****
>
> 64 Clarendon Road, Watford WD17 1DA*
> **[image: Description: Description: Description: Description:
> Description: Description: Description: Description: Description:
> Description:
> C:\Users\kevin.caruso\Documents\mindSHIFT\sm-logos-signature\facebook.jpg]
> * <http://www.facebook.com/casewise#!/pages/Casewise/471345470297>*[image:
> Description: Description: Description: Description: Description:
> Description: Description: Description: Description: Description:
> C:\Users\kevin.caruso\Documents\mindSHIFT\sm-logos-signature\linkedin.jpg]
> * <http://www.linkedin.com/company/16238?trk=saber_s000001e_1000>*[image:
> Description: Description: Description: Description: Description:
> Description: Description: Description: Description: Description:
> C:\Users\kevin.caruso\Documents\mindSHIFT\sm-logos-signature\twitter.jpg]*<http://twitter.com/#!/casewise>
> *[image: Description: Description: Description: Description: Description:
> Description: Description: Description: Description: Description:
> C:\Users\kevin.caruso\Documents\mindSHIFT\sm-logos-signature\youtube.jpg]*<http://www.youtube.com/user/CasewiseLimited?blend=1&ob=5>
> ****
>
> *“When You Can See More, You Can Do More!”*****
>
> * *****
>
> * **[image: 
> Communicator4Word-Email-Banner.png]*<http://www.casewise.com/products/communicator>
> ****
>
>  ****
>
>
> _______________________________________________
> MonoTouch mailing list
> MonoTouch@lists.ximian.com
> 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/
>
> 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/

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

<<image004.jpg>>

<<image001.jpg>>

<<image005.jpg>>

<<image002.jpg>>

<<image003.jpg>>

_______________________________________________
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to