-1

I have this code to add my AppID and App Signature to my AppDelegate.swift file but I get an error on the last line of code. It says: "Cannot invoke startWithAppId with an argument list of type (String, String, Delegate: AppDelegate). What am I doing wrong? Thanks!

  func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
    let kChartboostAppID = "5236547547457856858568"
    let kChartboostAppSignature = "523525225"

    Chartboost.startWithAppId(kChartboostAppID, appSignature: kChartboostAppSignature, delegate: self)
    }
newtocoding
  • 109
  • 10

1 Answers1

0

I forgot to add the ChartboostDelegate initializer. It works now!

newtocoding
  • 109
  • 10