I wanted to use the new Large Titles with largeTitleDisplayMode
set to .always
but got some strange animation issues while popping the pushed detail controller if the root UITableView
's contentOffset.y
is positive aka scrolled.
So this is how it should work:
And this is how it works after scrolling:
I guess it's a bug, but maybe anyone have a workaround till it's fixed?
To reproduce, create a new sample project, open Storyboard and do the following:
- Add
Navigation Controller
and tick it'sNavigation Bar
'sPrefers Large Titles
value - Select it's
Root View Controller
and set it'sTable View
'sContent
toStatic Cells
. - Add many static cells or make then big enough, so your
Table View
become scrollable - Add a
View Controller
as detail view controller and setup theShow
segues - Setup the
Navigation Item
'sLarge Titles
property toAlways
for both view controller - Run the app, scroll to the bottom, perform a show/push segue and pop back