Is it possible to request (programmatically, at runtime) what the height / thickness of the navigation bar and / or toolbar will be after rotation?
That is, when you create a frame for a specific subset, I want to set its frame relative to the available space between the navigation bar and the toolbar. To make it smooth, it is best to do this in shouldAutorotateToInterfaceOrientation: rather than didRotateFromInterfaceOrientation: but values ββlike self.navigationController.toolbar.frame.size.height differ between orientations and devices.
I would like to calculate my new subview framework with what will be the thickness of the toolbar, and I would like to do this without hardcoding values ββlike 32pt, 44pt, etc.
Any thoughts?
source share