Feature/shrinking content

Hi Lars

I was wondering if you could incorporate my pull and take a look at what could be a bug.

The pull involves the creation of new sample code, BannerViewAdDemo. This is based on the Apple sample code BannerView. Apple code allows the app to have a single iAd at the bottom and and the content is shrunk or grown depending on ad availability. This is like your moving button example but really useful for complex apps.

Now for the bug, run mine and rotate it to landscape. Notice the black bar? I had thought that this was because AdMob was serving up a 50 pixel ad that was really only 30 pixels high with 20 pixels of shadow. Now that I look at the portrait case, and your sample code, I'm not so sure.

I also modified your sample code so the bottom button would hug the bottom when rotated.

And thanks for an awesome set of code BTW, very helpful!