我正在将 AdColony 中的 V4VC 广告添加到我的游戏中,并尝试更改默认弹出窗口。
现在,它说:“观看赞助视频以赚取 1 个硬币?”
我需要它说:“观看赞助视频以赚取 25 颗钻石?”
我查看了他们的支持页面并按照他们的说明在我的帐户上设置应用程序和货币。但是,所需的代码在 Objective-C 中。我需要转换它或在 Swift 中找到 V4VC 广告的正确代码:
NSString*currencyName=[AdColonygetVirtualCurrencyNameForZone:/*zoneID*/]; intcurrencyAmount=[AdColonygetVirtualCurrencyRewardAmountForZone:/*zoneID*/]; intremaining=[AdColonyPublicgetVideosPerReward:currencyName]‐[AdColonyPublicgetVideoCreditBalance:currencyName];
我也在使用雪碧套件。非常感谢您的帮助!