Xamarin Forms HttpClient GetAsync Fails in iOS Only

后端 未结 1 1938
小鲜肉
小鲜肉 2021-01-17 03:39

I have a very simple REST query to our WebAPI back end (used by a number of applications) and it works fine under Android and Windows but in iOS it fails with an \"Object re

相关标签:
1条回答
  • 2021-01-17 04:35

    In order to get the http query to work for iOS I had to install the NuGet package Microsoft.Net.Http in the PCL project, which is where the code is running.

    0 讨论(0)
提交回复
热议问题