Pangle
Pangle
사용방법
2) 초기 셋팅, 3) 초기화 진행은 위 링크에 들어가서 직접 설정하시는 것을 권장드립니다
1) 설치
미디에이션2) 초기화
#import <PAGAdSDK/PAGAdSDK.h>
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// initialize AD SDK
[self setupPangleSDK];
return YES;
}
- (void)setupPangleSDK {
PAGConfig *config = [PAGConfig shareConfig];
config.appID = @"YOUR_APP_ID";
//If you need to display open ads, you should set the app logo image
config.appLogoImage = [UIImage imageNamed:@"AppIcon"];
#if DEBUG
config.debugLog = YES;
#endif
[PAGSdk startWithConfig:config completionHandler:^(BOOL success, NSError * _Nonnull error) {
if (success) {
//load ad data
}
}];
}
Last updated
Was this helpful?