I'm trying to resize my app's view whenever an iAd is scrolled down from the top. The problem is that in run-time, when i set the resized frame size of the relevant view, the resizing doesnt happen 9so the iAd is draw on top of the top 50 vertical pixels).
If I set the UIView size at design-time, then I see that the view is resized (when i run the app).
So what am i doing wrong at run-time that is causing my resizing to not occur?
The structure of my controller's NIB looks like this:
> > View
> > View (associated with IB 'contentView')
> > CustomView (UIView)
> - ScrollView
> - Toolbar (top)
> - Toolbar (bottom)
In code the adBannerView is added like this: [self.view addSubView:adBannerView];
conteView's origin.y and size.height is what im updating (to make it y = 50, and height = original height - 50). This should scale it down so that enough room is made to dispaly the banner on top (50 pixels in height).