Hey, i have a problem with a scrollView which i populate with UIViews of the height 80 (width 768, resizing properly on init when the ipad is in landscape). Kinda like a custom tableview.
So here's the problem: when i remove all the views from the scrollview and populate it with new ones when it's in lanscape the views just have a width of 768 and not 1024. Trust me i've tried relocating and resizing the frames of both the scrollview and the views, this does not work. However this works normally in portrait.
And the resizing works properly in lanscape and portrait when i call [self presentModalViewController:view animated:YES];
So is there a way that i can reinitialize the whole UIViewController (dismissing the modal view controller and then adding it doesn't work either, dismissing never gets called).
Oh and the reloading of the scrollview occurs when i'm dismissing another view(used for editing the values of the views).
So is there a way to fix this, i've been trying to fix this for two days now and it's getting really frustrating...
Thanks!