-
-
Save rolfbjarne/cfa004d8f29cefd47ce2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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