我正在使用 SWRevealViewController 加载前后 View 。截至目前,默认行为是滑动前 View 时,后 View 显示在前 View 下方。这使得后 View 的某些部分隐藏在前 View 后面。
如图所示,后 View 中的文本框被截断了。有没有办法可以在前 View 之上显示后 View ?这意味着从左向右滑动屏幕时,前 View 不应向右移动。相反,后 View 应出现在前 View 之上。欢迎任何帮助。
最佳答案
在SWRevealViewController.m文件中有一个方法
- (void)_initDefaultProperties
在这个方法中有一个变量名
_rearViewRevealWidth = 220.0f;//change value and make it screen width.
_rightViewRevealWidth = 320.0f;//change value and make it screen width.
关于ios - 如何在 SWRevealViewController 中切换前 View Controller 顶部的后 View Controller 动画?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28542692/