Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用个人热点时,我的应用程序视图会失真。字段和文本、可点击的图标和图形会分开,因为状态栏下方有额外的栏。有没有办法根据显示/隐藏热点栏来调整 uiviewcontroller,或者有没有办法在我的应用程序加载时关闭/隐藏热点通知栏?谢谢。
当有人连接到个人热点或有活动电话时,状态栏的大小基本上会增加一倍。您必须确保您的视图设置了正确的自动调整大小掩码,并且您没有任何需要特定状态栏大小的硬编码。