我正在使用 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/