Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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