Navigation bar shadow in wrong position?

In my app, the position of shadow of navigation bar locates at (0,44) which is default. But in presented view controller with new behaviour (`.pageSheet` for iPhone) I see the height of UINavigationBar is 56, but height of `_UINavigationBarContentView` is still 44 so the shadow is generated in the wrong position. Do I have to modify something to make it looks well?

Replies

I'm facing the same issue, even in the final version of iOS 13.

It seems the generated constraints are invalid, but after a device rotation they fixe themselfves.



Screenshot: http://ynn.free.fr/ios-bug.png

The workaround described here might work: https://forums.developer.apple.com/thread/121861