swift3 - GMSServicesException', reason: 'Google Maps SDK for iOS must be initialized via -


terminating app due uncaught exception 'gmsservicesexception', reason: 'google maps sdk ios must initialized via [gmsservices provideapikey:...] prior use'

import google map written below

import googlemaps 

get api key create app using following link https://console.developers.google.com/

write below code in didfinishlaunchingwithoptions method of appdelegate

gmsservices.provideapikey("your app id") 

that's it


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -