application:willChangeStatusBarFrame: not called when phone call ends
Originator: | joachimb | ||
Number: | rdar://6475681 | Date Originated: | 06-Jan-2009 11:56 AM |
Status: | Duplicate/6175834 | Resolved: | |
Product: | iPhone SDK | Product Version: | iPhone OS 2.2 |
Classification: | Other Bug | Reproducible: | Always |
Summary: When a phone call ends while an application is running, the green double height status bar shrinks and the UIViewController adjusts the views' heights accordingly. However, there is no callback for if I need to programmatically react to this event (e g adjust an OpenGL view), even though there is [UIApplicationDelegate application:willChangeStatusBarFrame:], which sounds right but isn't. Steps to Reproduce: 1. Implement [NSApplicationDelegate application:willChangeStatusBarFrame:] or [UIApplicationDelegate application:didChangeStatusBarFrame:] in the app delegate 2. Take a call 3. During the call, start your app 4. Have the other side hang up 5. The green status bar shrinks Expected Results: 6. The callback is called, either before or after step 5, depending on which callback is implemented Actual Results: 6. The callback isn't called, because it's only related to frame changes due to orientation changes, and not all instances of status bar frame changes such as due to an incoming call. Notes: I'm not sure why these callbacks even exist if all they do is react on orientation changes, given that [UIApplication application:will/didChangeStatusBarOrientation:duration:] exists for just that purpose. This is a bug report on both the documentation and the API. The documentation for application:didChangeStatusBarFrame:really does explicitly say that it WILL be called when the status bar has changes, with no provision on what caused it, in contrast to in willChange.... where it says it's only for orientation changes.
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!
Submitted another me-too
Submitted another me-too: http://openradar.appspot.com/7080782
submitted sample app as requested
DTS asked for a sample app to reproduce the issue. Although trivial, I submitted one.
filed a me-too
rdar://7017464 sadly, the UIApplicationDidChangeStatusBarFrameNotification isn't sent either.
A video of the annoyance
I recorded what my UI looks like without the callback.