0
에 말게을 숨길 수 :어떻게 AppDelegate.m에 배너를 볼 수있는 코드가 있습니다적인 Cocos2D
내가 GameLayerView에 배너를 숨길 수있는 방법if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone && [UIScreen mainScreen].bounds.size.height == 960.){
bannerView = [[ADBannerView alloc]initWithFrame:
CGRectMake(0, 25, 320, 80)];
}
else{
bannerView = [[ADBannerView alloc]initWithFrame:
CGRectMake(0, 25, 320, 80)];
// Optional to set background color to clear color
[bannerView setBackgroundColor:[UIColor clearColor]];
[viewController.view addSubview: bannerView];
}
? 그리고 나서 게임 오버 후 갓 나온다. GameLayer.m에 뭔가 써야할까요?