gpt4 book ai didi

ios - iPad分屏导致抽屉变暗

转载 作者:塔克拉玛干 更新时间:2023-11-02 22:12:22 25 4
gpt4 key购买 nike

我正在使用 MMDrawerController 在我的应用程序上有一个右侧抽屉。这在正常情况下工作得很好,但在 iPad 的分屏中显示时会有些奇怪。

这是右侧抽屉打开的应用图片。可以看到 Recents,Easy Modes 等,看起来像一个普通的表格。

enter image description here

但是,如果我拖动打开分屏然后尝试打开抽屉,抽屉很暗。

enter image description here

我仍然可以轻敲抽屉里的东西,所以无论是什么导致黑暗都不会阻止轻敲。

有没有人遇到过这种情况并找到了解决方案?

最佳答案

我想这是影子不理解 Split View发生了什么,响应方法 viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) 应该有帮助!

关于ios - iPad分屏导致抽屉变暗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43130815/

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