Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import GoogleMobileAds
class AppDelegate:UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
//這邊要做的只有兩件事,一個是import GoogleMobileAds
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