GetGeopositionAsync does not return

后端 未结 10 769
北恋
北恋 2021-01-08 00:13

In my Windows Phone 8 app, I am trying to use GetGeopositionAsync on the main page to display some items based on user location.

Calling GetGeopositionAsync does not

10条回答
  •  无人及你
    2021-01-08 00:30

    I found that if you created the Geolocator locally, the task will end up being cancelled. It works when I created a permanent Geolocator instance.

提交回复
热议问题