Search code examples
swiftvideoxcode6appdelegateadcolony

Swift/Xcode AdColony returns error when trying to call AdColony.configure in appdelegate


im trying to initialize AdColony in my appdelegate with this line of code:

AdColony.configureWithAppID(appID: "app id", zoneIDs: ["zoneid1", "zoneid2"], delegate: self, logging: true) 

however, I getting this error:

Cannot invoke 'configureWithAppID' with an argument list of type '(appID: String, zoneIDs: [String], delegate: AppDelegate, logging: Bool)"


Solution

  • make sure u add adcolonydelegate after appdelegate