IOS 11: a controller for viewing with scrollView inside a navigation controller with an opaque navigation screen leads to weird content animation during transition

A view controller using scrollView inside a navigation controller with an opaque navigation screen results in weird content animation during transition

The content will be somewhere below its original position during the transition, and the interactive pop will make this very obvious.

Enabling a safe area does not eliminate this.

+5
source share
1 answer

This is a bug in iOS 11, I believe. Here rdar about it: http://openradar.appspot.com/34465226

You can work around this problem by checking the Extend Edges: Under Opaque Bars field in the storyboard or by setting [self setExtendedLayoutIncludesOpaqueBars:YES] manually in the code.

+8
source

Source: https://habr.com/ru/post/1272083/


All Articles