Skip to content

Instantly share code, notes, and snippets.

@rolfbjarne
Created October 22, 2015 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rolfbjarne/cfa004d8f29cefd47ce2 to your computer and use it in GitHub Desktop.
Save rolfbjarne/cfa004d8f29cefd47ce2 to your computer and use it in GitHub Desktop.
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