ios - 更改发送消息栏的颜色(JSQMessagesViewController)

标签 ios swift jsqmessagesviewcontroller

我正在使用 JSQMessagesViewController 向我的应用添加聊天功能。我将使用深色主题,并将聊天设置为黑色,除了发送消息栏。我一直无法弄清楚如何改变它的颜色(见下面的截图)。谁能告诉我如何更改发送消息栏的颜色?

谢谢!

ChatExample

最佳答案

我是这样改的。感谢萨格拉斯的帮助。

self.inputToolbar.contentView.backgroundColor = UIColor.blackColor()

关于ios - 更改发送消息栏的颜色(JSQMessagesViewController),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37252736/

相关文章:

iOS:UIView 动画,没有动画发生

ios - 使用 self.delegate 子类化 UITextField 会导致应用程序卡住,CPU 峰值达到 100%

ios - SpriteKit : Getting the absolute node position

ios - 错误 : UIView's window is not equal to another view's window

arrays - 在 Swift 5 中将字节数组转换为 Int64

ios - -[XBMessage 消息哈希] : unrecognized selector sent to instance

ios - 检查应用程序是否通过 GameCenter 挑战启动

ios - 更新按钮标题时重新执行 Swift if 语句

ios - Podfile 中 use_frameworks 的问题

ios - JSQMessagesViewController changedBubbleImage 不工作