Skip to content
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

Custom position not working in iOS (8.1) #4

Open
jproby opened this issue Nov 10, 2014 · 1 comment
Open

Custom position not working in iOS (8.1) #4

jproby opened this issue Nov 10, 2014 · 1 comment

Comments

@jproby
Copy link

jproby commented Nov 10, 2014

either using:

position: MoPub.AD_POSITION.POS_XY, x:0, y:400

or

MoPub.showBannerAtXY(x, y);

The same code is working correctly in Android.
Here is a full exemple resulting in a banner at the top in iOS:
MoPub.createBanner({
adId: adid.banner,
adSize: MoPub.AD_SIZE.SMART_BANNER,
autoShow: true,
overlap: true,
position: MoPub.AD_POSITION.POS_XY, x:0, y:window.devicePixelRatio*(window.innerHeight - 98)
});

@rafasegat
Copy link

Did you get it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants