- Home /
Question by
taxvi · Jan 15, 2015 at 12:09 PM ·
xcodeobjective-cmopub
Check if mopub banner ad is on screen
I'm doing an iOS game. if banner loads I need to pull my UI a bit up. I'm using mopub sdk in my xCode project. I'm listening to these methods in xCode:
adDidFinishLoadingAd -> move UI up;
adDidFailToLoadAd -> move UI down;
adDidClose -> move UI down;
adActionDidFinish -> move UI down;
but sometimes the ad disappears without calling any of these methods and keeps the UI up. any way to check if the ad is visible at the moment?
thank you
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613180456im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How would I add OS X menu bar functions to a Unity app? 3 Answers
"Cannot use '@try' with Objective-C exceptions disabled" Error 1 Answer
Do you still need to know xcode or objective c to publish to iOS? 1 Answer
iOS - touchesMoved called at irregular intervals 0 Answers
Unity for iOS: UnityPause(BOOL) 0 Answers