public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
window = new UIWindow (UIScreen.MainScreen.Bounds);
dvc = new DialogViewController (
new MonoTouch.Dialog.RootElement ("Root")
{
new Section ("Crash reporting tester") {
new StyledStringElement ("Native crash", NativeCrash),
new StyledStringElement ("Unhandled exception", UnhandledException),
}
}
);
dvc.Autorotate = true;
dvc.ShouldAutorotateToInterfaceOrientation (UIInterfaceOrientation.Portrait);
window.RootViewController = dvc;
window.MakeKeyAndVisible ();
return true;
}