Why doesn't iAd work in iOS?



    1. Established the project Single View Application
    2. Added. iAd framework in the draft,
    3. did. import iAd in ViewController.swift,
    4. Added. ADBannerView To counterer in storyboard,
    5. I' the one with the outlet,
    6. ViewController Called a banner delegate,
    7. Said ViewController: UIViewController, ADBannerViewDelegate

    I'm starting a project and I'm always making a mistake.

    Error Domain = ADErrorDomain Code = 4 "Application has iAd Network configuration error" UserInfo = {ADInternalErrorCode = 4, NSLocalizedFailureReason = Application has iAd Network configuration error, ADInternalErrorDomain = ADErrorDomain]

    Can I do these test applications without the designer's shoulder, or should I set up an iAd show?



  • Because... iAd closed on 30 June. https://developer.apple.com/news/?id=01152016a

    Use other commercials. For example, https://www.google.com/admob/




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2