Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9154411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:25:25+00:00 2026-06-17T12:25:25+00:00

I have an iOS application, with iAd using ADBannerView. It works perfectly in iOS

  • 0

I have an iOS application, with iAd using ADBannerView. It works perfectly in iOS 5, showing the ad full screen when the user taps on the banner. But when I run the exact same code in iOS 6, the navigation bar and tab bar shows on top of the ad:

enter image description here

Note that the “X” button on the Ad behind the nav bar works as it should to close the Ad, and the navigation bar and tab bar buttons work as well.

My app has a UITabBarController as the root controller, with 4 UINavigationControllers under it. And I did call this in didFinishLaunchingWithOptions:

[self.window setRootViewController:tabBarController];

What could be wrong? I’m guessing the view hierarchy is somehow not setup correctly.

Thanks in advance for your help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T12:25:25+00:00Added an answer on June 17, 2026 at 12:25 pm

    I think I found the issue. This is most likely because my UIViewController hierarchy was not properly setup, in that I didn’t have a addChildViewController: call where it’s needed. The When to use addChildViewController vs pushViewController thread was very helpful.

    An alternative that I’d recommend now is to simply use the code in the TabbedBanner project in the Apple iAdSuite sample.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have an iOS application witch uses the current location of the user. I
I have an iOS 5 Tabbed Application, using Storyboards. My Tabbar Controller points to
I have an iOS application that was developed using Xcode Version 4.5.1. My iOS
I have an iOS application, and I want the user to be able to
I have an iOS application where user can order prints of photos. User can
We have an iOS Application that connects to a WebDav server using the ASIHTTPRequest
I have an iOS application that works with an external accessory connected through the
I have integrated the paypal in my iOS application using latest MPL library. The
I have an iOS application that downloads an xml file using: NSURL *queryURL =
I have an iOS application that uses GPS for Location Services. A user would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.