ios - UITableViewController's view has wrong frame when pushed into an embedded UINavigationController -
i have container view controller fixed height view @ top , embedded uinavigationcontroller below it. container view embeds uinavigationcontroller has top space constraint fixed height view, , bottom space constraint top layout guide. results in navigation controller's height being 599 on iphone 6 (the fixed height view @ top occupies remaining 68 points). i've verified height of navigtation controller's view @ runtime in lldb.
however, when push uitableviewcontroller embedded uinavigationcontroller, height of uitableviewcontroller's table view 667 points, not 599 have expected. can work around setting bottom content inset of 68 points, i'd avoid if possible.
what need ensure height of views of controller's pushed uinavigationcontroller match height of navigation controller?
Comments
Post a Comment