-
Notifications
You must be signed in to change notification settings - Fork 59
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
Landscape Ads Don't Appear with a Tab Bar Controller #15
Comments
Does it occur on a specific version of iOS, or is it multiple versions? |
Seems to occur with both iOS 4.0 and 5.0. Haven't tested on any versions earlier or later than that (currently developing for iOS 4.0+). I'm running XCode 4.2 on Snow Leopard. Thanks! |
If possible, please checkout the latest code from the AdapterAbstraction beta branch and see if this issue still persists. This is the new 3.0 development branch I've been working on for awhile that supports way more functionality than what's on master right now. |
I am having this issue with the AdapterAbstraction branch when the application only supports landscape mode. Installed the code as of today. |
Is the issue in the AdapterAbstraction branch still specifically with a view controller in a tab view controller, or is it just in landscape in general? |
It is with UITableViewController in the AdapterAbstraction branch while in landscape only mode. |
If you could open up a new issue with some sample code, it would be of great help. |
I had the same issue (ads out of bounds in landscape) and adding the container view to the navigation controller instead of the view controller solved it: Try [[LARSAdController sharedManager] addAdContainerToViewInViewController:self.tabBarController]? |
[[LARSAdController sharedManager] addAdContainerToViewInViewController:self.navigationController] This worked for me when working inside a UITableViewController. |
Easy issue to reproduce:
Create a new Tabbed Application in XCode
Add LARSAdController and the necessary additional files (AdMob, frameworks, etc)
Add LAC code to your view controller:
The text was updated successfully, but these errors were encountered: