-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Status bar and Banner on top #23
Comments
So I try to: [CJPAdController sharedInstance].overrideIsNavController = NO; and what I got was better but not perfect: before displaying an Ads, again status bar did not take into account in right manner and what I got is the same as the previous image. When I commented out: /*if (!preiOS7 && !_showingiAd && !_showingAdMob && _adPosition==CJPAdPositionTop) {
contentFrame.origin.y = statusBarHeight;
contentFrame.size.height -= statusBarHeight;
}*/ what I got, finally, was: that is okay. Thank you. |
When I said: "and what I got was better but not perfect: before displaying an Ads, again status bar did not take into account in right manner and what I got is the same as the previous image." I had also add this: but as soon as I got the Ads, then your controller resized the main view and what I took was a right display as the one shown in the second image. Obviously, when connection is off, then I keep with the wrong display and this is not good. Thank you. |
I haven't tested this much in simple view controllers, only navigation or tab bar. But I don't get any problems using a standard UIViewController. I don't need to comment out those lines. I think that what you tried first should be correct: [CJPAdController sharedInstance].overrideIsNavController = YES; Then I modified the demo project included in this repository to launch the UIViewController directly instead of using _navController: ViewController *rootVC = [[ViewController alloc] init];
[CJPAdController sharedInstance] startWithViewController:rootVC];` And what I get seems correct to me, both with and without ads... |
Hello I do not actually know Il sabato 14 febbraio 2015, Chris Phillips [email protected] ha
|
Hello Chris. [CJPAdController sharedInstance].adNetworks = @[@(CJPAdNetworkiAd), @(CJPAdNetworkAdMob)]; Is there some drawback by change this configuration is not in "didFinishLaunchingWithOptions"? Thank you very much. |
Hello.
Could you please check this line of code
I am using your controller with a simple UIViewController. I try to set
but it was not good. See below:
The text was updated successfully, but these errors were encountered: