I build iOS app using Smartface. I add Admob on my app, Admob shows center of the screen. When I add Admob into a container, Admob does not show. When I change Admob.top value does not happen anything.
How can I change the admob location on the screen in iOS?
You can try the codeLines below in the construction of AdMob;
var admobLeft = (Device.screenWidth - 320) / 2;
admob = new SMF.UI.AdMob({
top : "92.5%",
left : admobLeft,
animated : true
});
Related
How can I place unity banner and intestertial banner in flutter app without triggering any event. I want the ads to show automatically when the app is launched.
I have 2 canvas in my game.One is background and one shows items in the front.Now when i implemented Admob ads,all my ads are showing in background canvas.Why is that and how can i set them to show on the front canvas.
How can I achieve it.
I am calling ads from Gameobject in front canvas.
I used cordova-plugin-qrscanner for my ionic 2 application. When i click on a tab the scanner will be opened. It works perfectly in android, but in ios the camera is not shown on the screen but it scans blindly. When i change the orientation of the screen the camera is displayed properly.
I tried to reload the page usingwindow.location.reload() but it didnt work.
Thanks in advance.
I implemented Unity Ads in my game, I would like to display video ads on game over screen. I use this code to do it:
if(Advertisement.isReady())
{
Advertisement.Show();
}
The problem is that when I check my game on iOS for some reason iAds banners display on the top of the page!
I went to monetization settings (advanced) of UnityAds and turned off picture placement. I also disabled "Allow picture ads when no video ads are available (Highly Recommended)" in default video placement options but I still see those iAds banners (saying "You are connected to iAds"). I am not sure if they are debug banners and will disappear in release build.
Any ideas?
I created an Iphone app and I am trying to convert them to Ipad screens. I have a login page which was created for Iphone, I tried to change it to Ipad by changing Project Settings screen and changed the emulator. But the Login page looks weird on Ipad Emulator, controls are get stuck to the upper left corner. How can I fix it to look centered on Iphone and Ipad?
here is the screen on xcode
here is the screen on emulator
You need to adjust the autolayout settings for each object.
http://www.raywenderlich.com/20881/beginning-auto-layout-part-1-of-2