gpt4 book ai didi

ios - 在热点模式下启动屏幕不会填满屏幕设备

转载 作者:塔克拉玛干 更新时间:2023-11-02 19:59:07 26 4
gpt4 key购买 nike

如果我在我的 iPhone 上激活热点,启动屏幕会向上移动,在屏幕底部我有一个填充空间,我可以在其中看到我手机的壁纸。我在导航 Controller 上遇到了同样的问题,但我修复了它。在这里我不知道我能做什么。 enter image description here

如果有人可以帮助我.. 请

最佳答案

我找到了这个问题的解决方案。在 AppDelegate.m 中,我添加了这个方法:

- (void)application:(UIApplication *)application willChangeStatusBarFrame:(CGRect)newStatusBarFrame {
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];
}

启动屏幕看起来很完美。

关于ios - 在热点模式下启动屏幕不会填满屏幕设备,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31262664/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com