Last active
June 12, 2018 05:57
-
-
Save hehehaha0228/76ddf7121470295e0b33ce60556841e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import GoogleMobileAds | |
class AppDelegate:UIResponder, UIApplicationDelegate { | |
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { | |
//這邊要做的只有兩件事,一個是import GoogleMobileAds | |
//另一個就是在didFinishLaunchingWithOptions裡面輸入下面這一行 | |
GADMobileAds.configure(withApplicationID: "這邊就是你自己的 app ID ") | |
return true | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment