I have a UITableView inside UITabBarController, when the starting orientation for the TableView is Landscape there is no problem, but when the Starting Orientation is Portrait it get shifted down by 10 px after rotating, please see Images,
Before Rotating:
After Rotating:
The gray 10 pixel rect is shown between the Status and the UINavigationController.
Any help would be so much appreciated.
Thanks all.
I have found the solution, but it seems has nothing to do with what i was facing but i tried everything and this finally did the job.
Here what i used to do to:
Before
I used to load My UITabController through an IBOutlet connected from on XIB and load it as follow:
Now
I Removed my UITabViewController from the XIB and load it from the application delegate as follows:
Thanks all for the effort.