当用户在通话中打开我的iPhone应用程序时,如何获得通知? [英] How do I get notified when a user opens my iPhone app while in a phone call?

查看:44
本文介绍了当用户在通话中打开我的iPhone应用程序时,如何获得通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果用户在通话中访问我的应用,我需要调整多个视图.有没有被告知的最佳实践?

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?

谢谢!

推荐答案

您要检查共享UIApplication实例的statusBarFrame属性.看看为通话中状态栏调整大小?.

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

这篇关于当用户在通话中打开我的iPhone应用程序时,如何获得通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆