Git Product home page Git Product logo

Comments (9)

larsacus avatar larsacus commented on June 30, 2024

Can you provide some more information such as OS, platform, logging, etc?

from larsadcontroller.

georgejecook avatar georgejecook commented on June 30, 2024

iOS 8.

are there any hooks for resizing the ad views?

from larsadcontroller.

larsacus avatar larsacus commented on June 30, 2024

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.

georgejecook avatar georgejecook commented on June 30, 2024

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.

larsacus avatar larsacus commented on June 30, 2024

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.

georgejecook avatar georgejecook commented on June 30, 2024

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.

larsacus avatar larsacus commented on June 30, 2024

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.

georgejecook avatar georgejecook commented on June 30, 2024

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.

larsacus avatar larsacus commented on June 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.