iPhoneアプリを開発しています。その中でchartboostを使いたいです。私はこの概念に慣れていないので、その Web サイトにあるコードを使用しましたが、それでも機能しません。上記のコーディングを appdelegate.m ファイルで使用しました。そして、SystemConfiguration.framework と QuartzCore.framework を追加しました。他にやらなければならないことはありますか?
#import "Chartboost.h"
- (void)applicationDidBecomeActive:(UIApplication *)application {
// Configure ChartBoost
ChartBoost *cb = [ChartBoost sharedChartBoost]; cb.appId = @"APP_ID";
cb.appSignature = @"APP_SIGNATURE";
// Notify the beginning of a user session
[cb startSession];
// Show an interstitial
[cb showInterstitial]; }