So I have a pretty simple bit of JS using the navigator.geolocation.getCurrentPosition jammy.
$(document).ready(function(){ $(\"#business-locate, #people-l
For anyone working on an iPhone app...
If your code is running in a UIWebView on iOS 9+, then you must set NSLocationWhenInUseUsageDescription within your app's plist.
NSLocationWhenInUseUsageDescription
If you don't set it then getCurrentPosition will never call back and the user will never be prompted.
getCurrentPosition