Frame size below navigation bar?

You can try to subtract

[UIApplication sharedApplication].statusBarFrame.size.height

And

self.navigationController.navigationBar.frame.size.height

From your

self.window.frame.size.height

Cheers, Rog


safeAreaLayoutGuide When the view is visible onscreen, this guide reflects the portion of the view that is not covered by navigation bars, tab bars, toolbars, and other ancestor views. (In tvOS, the safe area reflects the area not covered the screen's bezel.) If the view is not currently installed in a view hierarchy, or is not yet visible onscreen, the layout guide edges are equal to the edges of the view.

So you can use:

self.safeAreaLayoutGuide.layoutFrame