我尝试使用以下代码行在我的应用程序委托(delegate)中初始化 AdColony:
AdColony.configureWithAppID(appID: "app id", zoneIDs: ["zoneid1", "zoneid2"], delegate: self, logging: true)
但是,我收到此错误:
Cannot invoke 'configureWithAppID' with an argument list of type '(appID: String, zoneIDs: [String], delegate: AppDelegate, logging: Bool)"
最佳答案
确保在 appdelegate 之后添加 adcolonydelegate
关于尝试在 appdelegate 中调用 AdColony.configure 时,Swift/Xcode AdColony 返回错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30881276/