Search code examples
iosswiftgeolocation

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)


Solution

  • 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.