Tencent / QMUI_iOS

QMUI iOS——致力于提高项目 UI 开发效率的解决方案
http://qmuiteam.com/ios
Other
7.05k stars 1.37k forks source link

QMUIConsole 在没使用配置表或者配置表里没设置 TableViewCellBackgroundColor 的情况下,打印出来的日志背景是白色的,看不见文字 #1377

Closed z7z closed 1 year ago

z7z commented 2 years ago
xcode 12.5
qmui 4.4.3

没有配置文件 直接使用 [QMUIConsole log:@"Begin"]; 文字的颜色背景都为白色 直接复制Demo里的 QMUIConfigurationTemplate ,QMUIConsole 输出的文字和背景仍然都是白色 是我哪里么用对么

helloWotu commented 1 year ago

me too,我的也是,而且日志这边还总是崩溃,或者卡死主页面

MoLice commented 1 year ago

me too,我的也是,而且日志这边还总是崩溃,或者卡死主页面

@helloWotu 请提供 Demo。

z7z commented 1 year ago

me too,我的也是,而且日志这边还总是崩溃,或者卡死主页面

哈哈,然后一堆警告,UI经常卡主线程里

MoLice commented 1 year ago

@z7z 不提供 Demo 等更详细的信息,你们这些反馈其实没任何意义...如果是必现的,早就已经发现了。

z7z commented 1 year ago

@MoLice

  1. 都需要什么 2.下面是 Cell内嵌TextField 截屏2022-07-26 下午2 38 39 截屏2022-07-26 下午2 39 51
z7z commented 1 year ago

@MoLice 1.Pod后直接引用,无配置文件

截屏2022-07-26 下午3 08 48

2.拖拽Pod里的配置文件到项目

截屏2022-07-26 下午3 09 36

3.拖拽Demo里的配置文件到项目

截屏2022-07-26 下午3 17 46
z7z commented 1 year ago

@MoLice

xCode  - 12.5
QMUI    - 4.4.3
模拟器  - 14.5
MoLice commented 1 year ago

@MoLice 1.Pod后直接引用,无配置文件 截屏2022-07-26 下午3 08 48

2.拖拽Pod里的配置文件到项目 截屏2022-07-26 下午3 09 36

3.拖拽Demo里的配置文件到项目 截屏2022-07-26 下午3 17 46

@z7z 根据这个提供的操作方式,确定 QMUIConsole 面板里的颜色错误是 QMUIConsole 的 bug,新版本会修复,在此之前可以修改本地的 - [QMUIConsoleLogItemCell didInitializeWithStyle:],把里面的 self.backgroundColor = nil; 改为 self.backgroundColor = UIColor.clearColor;

MoLice commented 1 year ago

@MoLice

  1. 都需要什么 2.下面是 Cell内嵌TextField
截屏2022-07-26 下午2 38 39 截屏2022-07-26 下午2 39 51

@z7z 按照 issue 的描述无法重现。该问题若不提供 Demo,后续不再跟进,排查的效率太低。

image
MoLice commented 1 year ago

已发布 4.5.0 修复该问题。