I just started the use of Mapkit Framework.
I got a sample code from here.
But when I build the code it returns the following error.
/SourceCache/GoogleMobileMaps/GoogleMobileMaps-201/googlenav/mac/Loader.mm:195 server returned error: 407
It does not shows the map.
I am confused whether the code has an error or there is some error with Google services.
I have found a solution, we need to add Credentials to user’s keychain
here is my code
I recovered first the sharedCredentialStorage (1), then i created new NSURLCredential containing my user name, password, and the type
of persistence to use (2) . After that I created two NSURLProtectionSpace (3)(4): one for HTTPS Connexion, and one for HTTP Connexion
And finally, i added NSURLCredential the sharedCredentialStorage for these ProtectionSpaces (5)(6)
I hope that this code can help you