How to make Admob banner ads in ios with application view auto rescale


I would to show Admob banner ads on ios but with the application view auto rescaled (fully displayed) instead of partially blocked by the banner ads (the banner subview is displayed on top of the application view). I do not have any idea how to arrange the application view say on top of the banner view so that the application view can be fully displayed together with the banner ads.

Any suggestion is welcomed. Thanks in advance.

I found a direction from another post as below: