YRSideViewController *sliderController = [[YRSideViewController alloc] init]; sliderController.rootViewController = deviceListController; sliderController.leftViewController = leftViewController;//设置一下控制器 [slideViewController showLeftViewController:true];//展示 [slideViewController h