objective c - UITabbarController layout issues in iOS 7 - view going behind the navigation bar -
i'm working on mobile solution needs upgraded ios 7. i've tabbar controller 4 tabs embedded in navigation controller. 4 view controllers of tab bar having tableview laid @ (0,0) origin , set size of view resizing handles set properly. when launch application, table view in first tab bar item displaying below navigation item table views in remaining 3 tabbar items going below navigation item. base controller same view controllers in i've set following code.
if ([self respondstoselector:@selector(setedgesforextendedlayout:)]) { [self performselector:@selector(setedgesforextendedlayout:) withobject:[nsnumber numberwithint:uirectedgenone]]; } i've deselected "under top bars" & "under bottom bars" under "extend edges" section in storyboard concerned view controllers. still issue remains same.
any inputs on me lot.
thanks
sudheer
the issue has been fixed setting setedgesforextentedlayout uirectedgenone uitabbarcontroller rather setting each , individual view controllers in tab bar.
Comments
Post a Comment