Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
它是什么:https ://github.com/ViewDeck/ViewDeck
在我的应用程序中的某些时候,我需要禁用菜单滑出功能。我无法禁用用户交互,因为那时主屏幕无法使用。在我准备好使用该功能之前,如何防止菜单打开?
禁用菜单的打开能力
_deckController.panningMode = IIViewDeckNoPanning;
并重新启用它
_deckController.panningMode = IIViewDeckDelegatePanning;
这有帮助:UIViewController 忽略左/右滑动移动