Skip to content

Instantly share code, notes, and snippets.

@donchan922
Last active April 15, 2020 14:00
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 donchan922/f34a76a0d2a07b734b4c58c52efc8a6b to your computer and use it in GitHub Desktop.
Save donchan922/f34a76a0d2a07b734b4c58c52efc8a6b to your computer and use it in GitHub Desktop.
import UIKit
// import文を追加する
import GoogleMobileAds
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Mobile Ads SDKを初期化する
GADMobileAds.sharedInstance().start(completionHandler: nil)
return true
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment