简体   繁体   中英

How to use real device location in iOS?

I'm using Geolocation in my Swift app which all works fine, except I'd like to know how to use my 'real' current location (as opposed to a simulated one). I am using a real device (iPad 2)

It turns out the problem was with my device instead. I had to reset my location settings and reboot the device before it would recognise my current location.

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