Hi!
My app is using alerts and rewarded video ads and they are wrapped from objC.
They are both being showed from the current viewcontroller, for example when i got to show the alerts i use this:
That is all working but i know it cannot be displayed at the same time, the alerts and the video ads when they are using the same viewController. BUT now i have added a banner ad for my game which also runs from the current viewcontroller and the banner is running all the time. Therefore i cannot show rewarded videos or alerts while it is active(RevMob Banner).
How can i show the banner so that it won't affect the current viewController/so i can show alerts and rewarded video ads?
Have anybody else experience this issue, also when it says "warning: attempt to present which is already presenting"
Can anybody help?
Much appreciated!
Thanks!
My app is using alerts and rewarded video ads and they are wrapped from objC.
They are both being showed from the current viewcontroller, for example when i got to show the alerts i use this:
Code:
UIViewController * viewController = [UIApplication sharedApplication].keyWindow.rootViewController;
[viewController presentViewController:alert animated:YES completion:nil];
That is all working but i know it cannot be displayed at the same time, the alerts and the video ads when they are using the same viewController. BUT now i have added a banner ad for my game which also runs from the current viewcontroller and the banner is running all the time. Therefore i cannot show rewarded videos or alerts while it is active(RevMob Banner).
How can i show the banner so that it won't affect the current viewController/so i can show alerts and rewarded video ads?
Have anybody else experience this issue, also when it says "warning: attempt to present which is already presenting"
Can anybody help?
Much appreciated!
Thanks!
Last edited by a moderator: