ios - UITableView offset in UINavigationViewController, displayed under UINavigationBar -
on ios 6, trying reproduce side menu left , right of facebook app. got 2 view controllers respective views added on same window (just 1 bellow other). secondary controller uitableviewcontroller embedded inside uinavigationviewcontroller (named "slide menu") has width of 300 pts -- frame : (0, 0, 300, 480).
switching , forward side menu executing pretty well, have 1 tricky issue on secondary view, if push view (the green 1 on pictures) , pop it, table view goes bellow navigation bar 20 pts... checked , superview of table view doesn't start @ 64pts (on y origin) @ 44pts.
what interesting using exact same code, changing frame of secondary view controller (0, 0, 300, 480) (0, 0, 320, 480) fixes problem! size different {320, 480} bring issue...
thanks
have tried ? tableview.autoresizingmask = uiviewautoresizingflexibleheight;
Comments
Post a Comment