
IM即时通讯
安全可靠、全球互通

实时音视频
流畅稳定、省钱省力
回答:
在继承融云 SDK 会话列表 (RCConversationListViewController) 的类中实现下面代码。
下面以私聊会话类型为例,可以自己设置会话列表 cell 的 conversationTitle 的 字体大小和颜色。如果您想要调整别的 UI 控件,可以参考下面代码来写。
- (void)willDisplayConversationTableCell:(RCConversationBaseCell *)cell atIndexPath:(NSIndexPath *)indexPath { RCConversationModel *model = self.conversationListDataSource[indexPath.row]; if (model.conversationType == ConversationType_PRIVATE) { //开发者需要将 cell 转换为具体的会话类型 cell RCConversationCell *detailCell = (RCConversationCell *)cell; //开发者根据自己需求更改颜色 detailCell.conversationTitle.textColor = [UIColor redColor]; } }