Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

How to stop iOS location services warning 'Allow "Appname" to access your location.. when using map

$
0
0

Hi,
I am using the Xamarin.Forms.Maps.dll to display a map of a location for a meeting. I don't use the location of the device at any point and have no need to in the app at all. There is no code that I have written that tries to obtain the location of the device but when running the app on my iPad I am getting the iOS location services warning 'Allow "Appname" to access your location while you use the app?'

Can I stop this popup from happening as I am not using the device location?

My code is as follows.

        var map = new Map(
        MapSpan.FromCenterAndRadius(
        new Position(52, -1), Distance.FromMiles(0.3)))
        {
            IsShowingUser = true,
            HeightRequest = 100,
            WidthRequest = 960,
            VerticalOptions = LayoutOptions.FillAndExpand,                    
        };

Thanks in advance.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>