How to place admob banner on all iOS devices? Specially on iPhone X
Hi,
If you use SDKBox, you can complete the adaptation of iPhone X with a simple configuration.
{
"ios": {
"AdMob":{
"safearea":true,
Thanks,
I’m using code only.
self.adView.frame = CGRectMake((localViewController.view.bounds.size.width - BANNER_SIZE.width) * 0.5,
localViewController.view.bounds.size.height - BANNER_SIZE.height,
BANNER_SIZE.width,
BANNER_SIZE.height);
How it’s done in SDKBox by code to work on all devices including iPhone X?
may be they are using getSafeAreaRect
logic