简体   繁体   中英

How to track the GPS coordinates as user walks, from xamarin.forms for ios platform

I just went through this link

to track GPS co-ordinates of current location as User walks with a xamarin.forms app (iOS platforms)

But I could not find how to do it, as I am born new to xamarin.forms,

Can we do this in xamarin.forms or should I Create a xamarin ios project?

Any links/tutorials to track the user location through xamarin.forms for iOS platfomrs would be appreciated, thanks in advance.

The Geolocator Plugin for Xamarin and Windows is also a great way to deal with location services (such as fetching a user's current location) in a cross-platform manner.

The API is literally a few lines, and is as simple as calling one method. If you wish to do more advanced things like track a user's location in the background (use case: maps app), you can do that as well.

You can learn more about it in this blog post from Xamarin .

We used Xamarin-Forms-Labs to do this. Works perfect with Xamarin.Forms on all platforms.

For more information: Geolocator

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM