Skip to content

Instantly share code, notes, and snippets.

@rolfbjarne
Created Oct 22, 2015
Embed
What would you like to do?
diff --git a/App1/AppDelegate.cs b/App1/AppDelegate.cs
index f577844..75a6efc 100644
--- a/App1/AppDelegate.cs
+++ b/App1/AppDelegate.cs
@@ -24,7 +24,7 @@ namespace App1
window = new UIWindow(UIScreen.MainScreen.Bounds);
// If you have defined a view, add it here:
- // window.RootViewController = navigationController;
+ window.RootViewController = new UINavigationController ();
// make the window visible
window.MakeKeyAndVisible();
diff --git a/ClassLibrary1/BaseSvgHandler.cs b/ClassLibrary1/BaseSvgHandler.cs
index 931ac22..dbce993 100644
--- a/ClassLibrary1/BaseSvgHandler.cs
+++ b/ClassLibrary1/BaseSvgHandler.cs
@@ -19,7 +19,11 @@ namespace ClassLibrary1
if (platform == null)
throw new Exception("platform is null");
Debug.WriteLine("platform not null");
- platform.BeginRecording();
+ try {
+ platform.BeginRecording();
+ } catch (Exception ex) {
+ Debug.WriteLine (ex);
+ }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment