UINavigationController: Method to hide or show status and navigation bar in a single animation

Originator:dieter.komendera
Number:rdar://18080024 Date Originated:20-Aug-2014
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 8 beta 5 (12A4345d)
Classification:Enhancement Reproducible:Always
 
Summary:
In iOS 8 UINavigationController gained some methods to manage it's navigation and tool bars. In addition, it should provide a method which includes toggling the status bar as well.

This is already used internally by Apple's Maps app (see attached video). We think this is very useful and should be included in UIKit as public API, as we have found no way to achieve the same animation with public API.

As a workaround we've implemented our own class which manages this, but due to the inability to customise the status bar animation, it looks not as good as the animation from Apple Maps. I've included an example project which demos our status bar manager.

This is especially useful for apps apps which want to utilise iOS's devices full screen, but provide the user with the ability to show all available controls including the status bar, which Apple Maps itself is actually a perfect example for.

Steps to Reproduce:
n/a

Expected Results:
n/a

Actual Results:
n/a

Version:
iOS 8 beta 5 (12A4345d)

Notes:


Configuration:
n/a

Attachments:
'barhidemaps.mov' and 'HideBarsExample.zip' were successfully uploaded.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!