I want the iAd/AdMob mediation banner to NOT be affected by what ViewController I'm in. Currently. When I change View Controllers didFailToReceiveAdWithError is called and the AdMob banner in that method appears when I change ViewControllers. I use 2 ViewControllers for my entire app, so is there a way to make the ads NOT be affected by the app?
how to implement ads on 2 view controllers
65 Views Asked by AudioBubble At
1
There are 1 best solutions below
Related Questions in SINGLETON
- Laravel's Singleton issue (works in Tinker, not in the served app)
- Can out-of-order execution of CPU affect the order of new operator in C++?
- What should I use between object class and Hilt @Singleton class. in Android
- Android kotlin casting warning
- Is it possible for some singletons to outlive other singletons
- The singleton class has different assigned addresses
- JAVA - Implementing a serialisable and mutable Singleton
- Does the static initialization order fiasco happens with C++20 modules?
- EXC_BAD_ACCESS (SIGBUS) KERN_PROTECTION_FAILURE when calling Singleton's function inside a Timer's closure
- Swift: Singleton class "extends" from protocol
- Why do we need a constructor for a singleton?
- How to test a Singleton with Jest ? Comparison made between two syntaxes
- IllegalStateExeption Another SimpleCache Instance uses the folder after using single kotlin android
- What are the problems with creating a Singleton using an unnamed struct in C?
- Unity Player Prefs Not Updating After Building
Related Questions in ADMOB
- How to add a banner adview to the layout?
- AdMob Add Serving Limited Due To Site Behavior: Navigation
- Ad units is empty in AdInspector
- Error checkReleaseDuplicateClasses when build file with google admob and google native ad in Unity
- Getting error in Admob native template "Unexpected resource type"
- Perform action after rewarded ad avoiding exploitation
- Admob banner overlapping
- Do we have to limit ad request frequency in order to show banner ads across different screens with Flutter Google Admob package (google_mobile_ads)?
- Multiple banner ads problem in Flutter app
- Android Project problem when implementing admob
- can we set adMob banner to specific <div> tag : Ionic APP
- interstitial ads is causing my app to crash
- how to fix release testing warning with ad_id permission
- AdMob: MobileAds.initialize() - "java.lang.Integer cannot be cast to java.lang.String" for some devices
- "Google-served ads obscuring content" issue with Admob banners and camera preview?
Related Questions in VIEWCONTROLLER
- UITableView not showing class array data
- Why will updateScore function in viewcontroller not call from gamescene
- Swift Generic Types and Inheritance
- View controller property layout top of each other
- How to merge two view content using factory design pattern in swift
- Rendering two view controller content into single view
- Adding two view controller content into single view
- How to open the desktop version of a link but using SafariServices
- Swift webview device token
- When creating a viewController in Facebook ShareDialog, there is an error "Type of expression is ambiguous without a type annotation"
- UIAlertController as child view controller not responding to tap
- Swift - Dismissing UIAlertController Not Working When 'No' Button is Pressed
- StoryBoard completly disappeared, i.e the VIEWCONTROLLER is totally blacked
- Change Notification Content Extension Interface Size Xamarin iOS
- How to show same top design in all viewcontroller with UIPageViewController in swift
Related Questions in BANNER
- Is there a way to fix the list to become horizontal and teh banner to become orange
- How to use Platformview to view Applovin_max MREC and banner ads
- dropbox cookies on banner
- I can't add admob banner and Interstitial ad to my webview(Html css Javascrit) android test project
- Extra gap above and below banner in Slider Revolution
- Top Bar bootstrap WP
- Use SVG mask instead of clip-path transition
- Facing WARN Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false` in react native
- OneTrust getGeolocationData object is empty for country code "IN"
- Troubleshooting marquee banner with text resizing bug on mobile
- Were Can i find gaming banner psd files
- How to Add Multiple Admob ads in single activity?
- How to set the banner inside a container?
- Codenameone app with banner ads - outdated version reported
- Flutter Admob Adaptive Banner size Error (Empty Space in banner)
Related Questions in DIDFAILWITHERROR
- Why do I receive a wrong GPS position after didFailWithError?
- Delegate must respond to locationManager:didFailWithError: even though implemented didFailWithError method
- CLLocationManagerDelegate's (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error not called when in App is in BG
- Call "didFailLoadWithError" when no internet connection?
- how to implement ads on 2 view controllers
- Swift: Corelocation handling NSError in didFailWithError
- few times get error code for didFailWithError as 0 in locationmanager delegate method
- Connection didfailwitherror method called when testing in device
- CLLocationManager didFailWithError: what error stops location updates
- Having `didFailLoadWithError:` only run once on startup
- Bad URL on iPhone, when i type it in browser it works
- Loading FaceBook in UIWebView gives NSURLErrorDomain error -999 when
- didUpdateToLocation not called with iOS 4 in my device...?
- MKReverseGeocoder location finder error {PBHTTPStatusCode=503} response in didFailWithError: delegate iPhone?
- iPhone - UIWebView not calling didFailLoadWithError without data connection
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Seems to me like you placed an ad on each view controller. When you transition between view controllers a new ad is called. You should instead use a singular ad banner. That way no matter what view controller you're on there will always be 1 ad banner running across both screens.