How do I get notified when a user opens my iPhone

2019-09-03 12:35发布

问题:

I need to adjust several views in the event that a user visits my app while in a phone call. Is there a best practice for being notified of this?

Thanks!

回答1:

You want to check the statusBarFrame property of the shared UIApplication instance. Take a look at Resize for in-call status bar?.



标签: iphone uiview