problem when use webapp with webDeviceLocation if it is launched from iphone (safari)

Hi, i have tried the webApp that is present in xojo example folder, MapViewer…
when i connect to this app from iphone (safari) and click on button “use device location” the app say me that there is an error…
this is the error : “could not determine… , origin does not have permission to use geolocalizzation”
but i check on iphone setting, and safari is able to use geolocalizzation when safari run
can anyone help me ?

https://forum.xojo.com/35505-origin-does-not-have-permission-to-use-geolocation-service

if i understand i must use https webapp to be able to use gps device inside iphone …
it is right ?