Comments (9)
Can you provide some more information such as OS, platform, logging, etc?
from larsadcontroller.
iOS 8.
are there any hooks for resizing the ad views?
from larsadcontroller.
You don't have any control as to the specific size of the ads. The ad network returns an ad at a particular size. I can only specify what type of ads to receive based on platform, etc.
from larsadcontroller.
I mean the view it sits in.. any way for me to better control the position (i.e. center it horizontally?).. or at least know when it's been updated so I can place it into a correctly sized black view, and center it in that.
from larsadcontroller.
It should automatically center itself horizontally internally -- if not, that should be a bug. You have access to the container view on LARSAdController to manipulate any way you please:
/** The container view that the ads are contained in. Exposed so you can do anything you would want with it.
*/
@property (nonatomic, readonly, strong) LARSAdContainer *containerView;
from larsadcontroller.
But is there notification to say when it's added an ad? coz if not, I'd have no way of knowing it's done something silly with the sizing.
from larsadcontroller.
What do you mean "added an ad"? You shouldn't have to listen for individual ads coming and going from the view as that's the entire point of this control and to abstract that information away from you.
from larsadcontroller.
Ok, so is the bug fixed then? "It should automatically center itself horizontally internally -- if not, that should be a bug. You have access to the container view on LARSAdController to manipulate any way you please:"
It doesn't center horizontally if the ad is smaller than the screen width.
from larsadcontroller.
Please attach some logs, screenshots, or any other information that could be used to determine if this actually is a "bug" or not before I can claim that it is fixed. Yes, it should currently center itself horizontally, as that is how I am currently seeing it on my device right now.
from larsadcontroller.
Related Issues (20)
- Blank Presenting View when Added as Subview iOS 8 HOT 2
- Banner position in runtime HOT 5
- GADBannerViewDelegate.h not found - first issue HOT 7
- GADBannerViewDelegate.h not found HOT 9
- Notification on bannerViewActionShouldBegin and bannerViewActionDidFinish HOT 3
- apps orientation settings not inherited? HOT 1
- error "Include of non-modular header inside framework module " HOT 5
- Ads in a list view? HOT 1
- 'interfaceOrientation' is deprecated: first deprecated in iOS 8.0 HOT 1
- Having trouble hiding AdBanner when no ad is visible HOT 11
- Build Error: 'GADBannerViewDelegate.h" not found HOT 11
- Delete HOT 2
- Global Disable Without Subclassing HOT 2
- iPad ContainerView Height Wrong? HOT 1
- 3.1.1 Causing freezing with Google Mobile Ads 7.5.2
- originalContentView with iAds
- In Landscape mode, when using Split View multitasking, ad container is wrong. (found fix!) HOT 3
- Carthage
- Portrait ads do not display correctly on iPad Pro 12.9" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from larsadcontroller.