I tried a lot, but the result will be the same, so I'm trying to write code as a google hint. The following code I used to fix this problem.
bannerView.adSize = kGADAdSizeSmartBannerPortrait;
there is no need to set the width constant as 320 on the user interface.
source share