OGeek|极客世界-中国程序员成长平台

标题: ios - LGSideMenuBar 背景颜色变化 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-13 15:55
标题: ios - LGSideMenuBar 背景颜色变化

我在我的项目中使用 LGSideMenuController,我更改了表格 View 中单元格的颜色,但无法更改剩余的 View 颜色。如果有人熟悉 LGSideMenuController 请帮助。

请参阅图片以获取引用。 the cell color i changed is graycolor. I want to make the remaining green background to gray



Best Answer-推荐答案


移除图片并添加背景颜色:

在 LGsidemenu 文件的 MainViewController 中添加以下行:

    self.leftViewBackgroundColor =[UIColor grayColor];

关于ios - LGSideMenuBar 背景颜色变化,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36497928/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) Powered by Discuz! X3.4