[MonoTouch] Cannot inherit from UIAlertView

2011-10-20 Thread Andrew Young
App crashes when I try to inherit from UIAlertView. See stack trace and sample code below. MonoTouch 5.0. Any ideas? I have a sample app that shows this for anyone interested. public class ViewController : UIViewController { private DateTimePickerView _pickerView; public ViewController ()

Re: [MonoTouch] Cannot inherit from UIAlertView

2011-10-20 Thread Sebastien Pouliot
Hello Andrew, This was asked on stackoverflow [1] recently. The workaround is to override only the default constructor and use the properties to set all values. Not sure (yet) about the root cause, it's on my TODO but I got other bugs (without workarounds) to go thru before that. Feel free to

Re: [MonoTouch] Cannot inherit from UIAlertView

2011-10-20 Thread ayoung
Done! http://bugzilla.xamarin.com/show_bug.cgi?id=1620 On Thursday, October 20, 2011 at 16:22, Sebastien Pouliot [via MonoTouch] wrote: Hello Andrew, This was asked on stackoverflow [1] recently. The workaround is to override only the default constructor and use the properties to set