gpt4 book ai didi

ios - ECSlidingViewController 在设备方向变为横向时隐藏

转载 作者:行者123 更新时间:2023-11-29 02:21:28 25 4
gpt4 key购买 nike

我正在使用 ECSlidingViewController 在我的应用中显示侧边栏菜单。

Its working fine but when the side bar appears on screen and i changed the orientation of device to landscape, the side bar automatically get hides without giving any kind of notification.

有人可以建议解决方案,以便当我将设备的方向更改为横向时,侧栏会保留在屏幕上并且不会隐藏。 请记住我的应用不支持横向模式。它只是纵向的。

最佳答案

我已经使用本教程在我的项目中成功添加了 ECSSlidingViewController 并且它的工作你应该已经尝试过本教程

http://cocoadocs.org/docsets/ECSlidingViewController/1.3.1/

希望对你有帮助

关于ios - ECSlidingViewController 在设备方向变为横向时隐藏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28083275/

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