The sites in Safari browser often you ask you to give them access to location services to find out where you are. However, you can disable these site alerts into a iPhone and iPad but also to generally prevent Safari from accessing location services. See below how you can do it.
See also: How to restore old Safari to iPhone
Safari iPhone /iPad: How to turn off site access requests
Open the application “SettingsOn your iPhone or iPad. Scroll down and select “Safari".
Scroll down until you see the section “Settings For Websites“. Press “Rental" there.
After that, Safari will automatically prevent sites from displaying notifications asking for your location data. Unfortunately, at this time, Safari on iPhone and iPad does not allow you to maintain a whitelist with specific sites that may request your location.
How to prevent Safari browser from accessing location services?
If you want to generally prevent Safari from accessing location services, you can do it.
Open the application “Settings”On your iPhone or iPad and select“Privacy".
Click on “Location Services".
Select “Safari Websites".
Click on the option “Never" in unit "Allow Location Access".
After this process, websites will not be able to use Safari location services on your iPhone or iPad.
The process is very simple and you can follow it to deny access to your site.