You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to customize the video display picture, you can refer to the ZHCVideoMediaItem class, it is best to inherit ZHCMediaItem rewrite Method -(UIView *) mediaView, where you can write any view you need to show. The core is the protocol ZHCMessageMediaData you can get to know.
Su ayuda....
Deseo actualizar las imágenes de los mensajes media de imagen.
Pero al cambiar en la función configureCell la imagen del mensaje no se realiza en la vista de la configuración de TableView.
//MARK:Configure Cell Data
func configureCell(_ cell: ZHCMessagesTableViewCell, atIndexPath indexPath: IndexPath) -> Void {
let message: ZHCMessage = self.demoData.messages.object(at: indexPath.row) as! ZHCMessage;
if !message.isMediaMessage {
if (message.senderId == self.senderId()) {
cell.textView?.textColor = UIColor.black;
}else{
cell.textView?.textColor = UIColor.white;
}
}else{
cell.messageBubbleImageView?.image = "NuevaImagenParaElMensaje"
}
}
The text was updated successfully, but these errors were encountered: