我正在将 Tapjoy SDK 代码添加到我的应用程序中,当我运行应用程序时,
我得到这个错误代码:
property 'showFeaturedBtn' not found on object of type 'UIViewController *'
我正在调用的代码:
// Show the custom Tapjoy full screen featured app ad view.
if (featuredApp)
{
[TapjoyConnect showFeaturedAppFullScreenAdWithViewController:mainCtrl_];
[mainCtrl_.showFeaturedBtn setEnabled:YES];
[mainCtrl_.showFeaturedBtn setAlpha:1.0f];
}
}
它在哪里说:
[mainCtrl_.showFeaturedBtn setEnabled:YES];
[mainCtrl_.showFeaturedBtn setAlpha:1.0f];
我收到 2 个错误说:
property 'showFeaturedBtn' not found on object of type 'UIViewController *'
有解决办法吗?