如何更改 Chartboost 委托(delegate)。看来它只能在初始化时设置一次。如果我想在 init 之后更改它怎么办?我只是再次初始化吗?
[Chartboost startWithAppId:@"APP_ID"
appSignature:@"APP_SIGN"
delegate:myDelegate];
最佳答案
根据需要调用 StartWithAppId(),根据 Chartboost 支持,这不会产生不利影响(至少在 Chartboost v5.1.3 中)。创建一个单例作为委托(delegate)并让该代理监听器方法也是一个不错的选择。
关于iOS 更改 Chartboost 委托(delegate),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28121043/