我正在为我的iPhone应用程序开发tapjoy集成,我工作得很好,但是在更新到最新的SDK9.0.3之后,它就在这里开始崩溃了。
[TapjoyConnect requestTapjoyConnect:TAPJOY_ID secretKey:TAPJOY_SECRET_KEY];崩溃描述.
*终止应用程序,原因是:“setValue:forUndefinedKey:该类不符合键closeButton的键值编码。”
任何帮助都将不胜感激。谢谢
发布于 2013-04-08 11:41:02
确保添加了TapjoyPublisherLibrary,而不是广告库。
这是8.x至9.x升级指令。
#import "TapjoyConnect.h"
[TapjoyConnect requestTapjoyConnect:TAPJOY_APP_ID secretKey:TAPJOY_APP_SECRECT_KEY];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(getFullScreenAd:) name:TJC_FULL_SCREEN_AD_RESPONSE_NOTIFICATION object:nil];
- (void)getFullScreenAd:(NSNotification*)notifyObj
{
// Displays a full screen ad, showing the current featured app.
[TapjoyConnect showFullScreenAd];
}
-(void)showTapJoyAds
{
// This method asks the tapjoy server for the featured app object.
[TapjoyConnect getFullScreenAd];
}发布于 2013-04-08 11:26:53
尝试将iOS目标更改为另一个版本,或者阅读tapjoy规范,这是iOS所需要的。
https://stackoverflow.com/questions/15877796
复制相似问题