ios4statusbarios5iphone-sdk-3.2

iPhone in-call status bar size?


Does anyone know the size of the in-call status bar? I am developing an app to be mostly used when the phone is in a call and would like to make the UI so it is usable while the in-call status bar is on.

Thanks


Solution

  • the best thing to do would be to sign up for notifications for UIApplicationWillChangeStatusBarFrameNotification . the notification you receive will tell you the size of the status bar, so that you have the right thing now, the right thing when you rotate to landscape, the right thing when apple changes the size of the status bar, etc.