NSB Demo App “Geolocation” not working in ios: Important as test application

NSB Demo App “Geolocation” not working, when loaded to Safari-Browser. It does also not run, when packed with Voltbuilder for ios. -> Permission problem -> How to patch it?
I think, the problem could be with permission for HTML5 navigator (?).
If this demo runs well as ios ipa, it would be a great sample for my production app, which always shows error:

"Geolocation error: Origin does not have permission to use geolocation service."