Answer the question
In order to leave comments, you need to log in
Is getCurrentPosition in JS not working on iOS?
I have a page which contains a code that gets the current location from the device and loads other things based on the location with this code:
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(successFunction);
} else {
// Сделайте вызов API для сервисов GeoIP
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question