0

currentContentSizeIdentifier is deprecated in iOS6. I tried

_adView.currentContentSizeIdentifier = ADBannerContentSizeIdentifierPortrait;

But it only works in iOS4/5.

How to change content size of ADBannerView in iOS6?

Special thanks!

OpenThread
  • 2,096
  • 3
  • 28
  • 49

1 Answers1

2
[_adView setAutoresizingMask:UIViewAutoresizingFlexibleHeight]

Hope it will help.

for more information:

iOS 6 iAd property and methods deprecated

http://useyourloaf.com/blog/2010/09/16/placing-iad-banners-at-the-top-of-a-table-view.html

Community
  • 1
  • 1
piam
  • 653
  • 6
  • 13