How do I get notified when a user opens my iPhone app while in a phone call?

天涯浪子 提交于 2020-01-06 15:13:36

问题


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?.



来源:https://stackoverflow.com/questions/2618799/how-do-i-get-notified-when-a-user-opens-my-iphone-app-while-in-a-phone-call

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!