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...

http://d.pr/i/rnr4

thanks

have tried ? tableview.autoresizingmask = uiviewautoresizingflexibleheight;


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

IIS->Tomcat Redirect: multiple worker with default -