我在我的iPhone应用程序中使用SWRevealViewController来实现滑动菜单。看起来,这个库使用260.0f作为后View宽度。这对iPhone 最佳答案 对于仍然有此问题的每个人,这就是解决方案。打开SWRevealViewController.m文件并对_initDefaultProperties方法进行以下更改。-(void)_initDefaultProperties{CGRectscreenRect=[[UIScreenmainScreen]bounds];CGFloatscreenWidth=screen