Consider adding status bar will and did hide notifications
Originator: | matej | ||
Number: | rdar://20835049 | Date Originated: | 06-May-2015 02:52 PM |
Status: | Open | Resolved: | |
Product: | iOS SDK | Product Version: | 8.3 |
Classification: | Feature (New) | Reproducible: | Always |
Summary: There’s currently no way (that I know of) to get notified when the status bar gets shown or hidden. UIApplication provides UIApplicationWillChangeStatusBarFrameNotification and UIApplicationDidChangeStatusBarFrameNotification, however those are only posted in response to orientation changes and during in-call status bar mode. They are not sent when the status bar gets shown or hidden. Expected Results: Notifications like UIApplicationWillHideStatusBarNotification & UIApplicationDidHideStatusBarNotification or similar should be available. Notes: UIViewController based status bar appearance together with implementing layoutSubviews solves the problem in most cases, however in certain scenarios the mentioned notifications are still required (certain full screen interfaces or a floating view that overlays the navigation controller view like the PSPDFKit annotation toolbar).
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!