Skip to content

Instantly share code, notes, and snippets.

@here-devblog-gists
Created July 30, 2018 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save here-devblog-gists/6b25a0bf67655c13af9129e759c26563 to your computer and use it in GitHub Desktop.
Save here-devblog-gists/6b25a0bf67655c13af9129e759c26563 to your computer and use it in GitHub Desktop.
import UIKit
import NMAKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
/* HERE Maps */
NMAApplicationContext.set(appId: "YOUR-HERE-ID", appCode: "YOUR-HERE-CODE")
/* Google Maps */
//GMSServices.provideAPIKey("GOOGLE-API-KEY")
return true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment