wkwebview with location services

Ive been experimenting with swift and wanted to try out the wkwebview. Ive built an app and it all works correctly but the problem is that the webpage that i load into my wkwebview uses google maps and requires location services, so the javascript should prompt a message saying "this app requires your location information". The swift app wkwebview doesnt display any message doesnt display my google maps either. If i visit the url with the safari browser it prompts the location message and also in uiwebview on ios 7 it promps that message. Anyone else come accross this and know a solution?


In iOS 8, you need to have a key in your Info.plist that the system can use to prompt for location usage. In your case you want to add a key/value pair with key NSLocationWhenInUseUsageDescription. The value of that pair will be shown in the first popup, from the system, asking if your app can access location services. Then Google Maps will be allowed to pop up its own alert.

Need Your Help

404 page not found in spring mvc example

java spring-mvc http-status-code-404 dispatcher

I am developing spring application, I am getting 404 page not found.

Can Visual Studio 2008 work with Team System 2005?

visual-studio visual-studio-team-system

I would like to upgrade my team from VS2005 to VS2008 without touching the version of Team Server which is 2005.