I want to use ads in my application. I added a tab bar as shown below. I would like the advertisement to appear right above the tab bar.
To do this I added the ban
ban
I solved the problem by positioning the ad with CGRectMake().
googleBannerView.frame = CGRectMake(0, (view.bounds.height - googleBannerView.frame.size.height) - 49, self.view.bounds.size.width, 49)
49 is the height of UITabBar.