Created
November 16, 2015 20:19
-
-
Save olegoid/5ad5c530eac5fbca79c4 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
using Foundation; | |
using UIKit; | |
namespace DebuggerIssue { | |
[Register("AppDelegate")] | |
public class AppDelegate : UIApplicationDelegate | |
{ | |
public override UIWindow Window | |
{ | |
get; | |
set; | |
} | |
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) | |
{ | |
UIDevice.CurrentDevice.BeginInvokeOnMainThread (async () => { | |
var client = new System.Net.Http.HttpClient (); | |
var result = await client.GetStringAsync ("http://xamarin.com"); | |
}); | |
return true; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment