Domanda

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

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top