gpt4 book ai didi

ios - 我如何在中央 Controller 上显示一个具有透明度的抽屉导航?

转载 作者:行者123 更新时间:2023-12-01 18:52:59 25 4
gpt4 key购买 nike

我正在使用 MMDrawerController 库,但默认行为是当抽屉导航出现时,中心 View 被“推”到右侧。我希望抽屉导航出现在当前 View 的顶部,具有透明背景,以便您可以看到它后面的旧 View 。我在网上找不到任何这样做的例子,甚至可能吗?

最佳答案

来自 MMDrawerController 文档:

What this Library Doesn't Do

In order to keep this library light-weight, we had to make some design trade off decisions. Specifically, we decided this library would NOT DO the following:

[…]

  • Support presenting the drawer above the center view controller (like the Google+ app).


这个库不支持。你可以为它写一个补丁,或者尝试一个不同的库。

关于ios - 我如何在中央 Controller 上显示一个具有透明度的抽屉导航?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29753849/

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