JSQMessagesViewController is an elegant messages UI library for iOS (now deprecated).
Questions tagged [jsqmessagesviewcontroller]
385 questions
13
votes
1 answer
How to add a searchbar to JSQMessagesViewController
In my chat application I am using JSQMessagesViewController for rendering the conversation. The application also has public messages that I want to search in. I am now trying to display them using JSQMessagesViewController. For this I want to hide…

Edwin Vermeer
- 13,017
- 2
- 34
- 58
12
votes
2 answers
Could not build Objective-C module 'JSQMessagesViewController'
I have two projects which both use JSQMessagesViewController, however in one of them I am getting the error: "Could not build Objective-C module 'JSQMessagesViewController'", whereas the other one works fine...There is virtually no difference…

Ahad Sheriff
- 1,829
- 8
- 24
- 46
12
votes
2 answers
JSQMessagesViewController animated typing indicator
I'm working on a project that uses the JSQMessagesViewController library. Has anyone successfully animated the typing indicator, and if so could they share their approach?
Thanks!

user2673587
- 161
- 8
11
votes
2 answers
NSBackgroundColorAttributeName in textView doesn't respect range if highlighted word is first of a line
I'm implementing a "search in chat" feature and I want the searched word to be highlighted in messages. The problem, as described in title, is that if the word is the first of a line (long messages are clearly multi-line), the entire line is…

Christian Casalini
- 113
- 4
9
votes
2 answers
Media Items in JSQMessageViewController's Collection cells are not showing in IOS 14
I am using JSQMessageViewController and I am facing the issue (only in ios14) that i cant see media items like Images, Video and Audio in device though these views are generating debug view hierarchy. See below attached image:-
debug view hierarchy…

Ali Mehdi
- 255
- 5
- 9
9
votes
1 answer
Can't implement required methods of JSQMessagesViewController Swift 3
I'm trying to use JSQMessagesVC in my Swift 3 project. It was installed via cocoa pods and everything looks fine. The problem is I can't implement collectionView methods and a keep getting errors. Can anyone help me?
import UIKit
import…

Jasmine Moreira
- 133
- 10
9
votes
3 answers
How to change Send button image in JSQMessagesController
How can I change JSQMessagesController "Send" button from just String to UIImageView?
Now it looks like:
Can I change this "Send" to image?
I've tried:
let sendButton =…
user4809833
8
votes
5 answers
Failed to remove "Info.plist" couldn't be removed
I have been trying to fix this a few days before. I was adding JSQMessagesViewController to my iOS project. Added the library manually by dragging and dropping the JSQMessagesViewController folder downloaded from Github. tried to add a Bridging…

Joker
- 830
- 2
- 14
- 30
7
votes
8 answers
jsqmessageviewcontroller ios11 toolbar
I have tried the swift example of JSQMessageViewController inside iOS 11 simulator. Here is the result:screenshot
I have tried using safe area margin and modify the toolbar constraint but there is still no difference. It seems that the toolbar is…

Samson Wong
- 226
- 2
- 10
7
votes
2 answers
"Cannot call value of non-function type"
I have just downloaded the Xcode 8 Beta so that I can include some of the new iOS 10 frameworks in my app. However, during the process of converting my code from Swift 2 to Swift 3, I ran into several errors. I fixed all but one super annoying one.…

Ahad Sheriff
- 1,829
- 8
- 24
- 46
7
votes
4 answers
How do you make the sender display name appear with JSQMessageViewController?
I have the following function that gets called for adding a message:
func addMessage(text: String, displayName: String) {
let message = JSQMessage(senderId: "tester", displayName: displayName, text: text)
…

Tob
- 985
- 1
- 10
- 26
6
votes
0 answers
How to send document file in JSQMessageViewController?
I want to send document files in JSQMessageViewController for an application I am building. How to do that?

Zoom
- 151
- 5
6
votes
1 answer
Logging only once for UICollectionViewFlowLayout cache mismatched frame
I have created an app which I used the JSQMessageViewController and it works fine in iOS 8. I used Swift in this project and I do bridging since the library is written in Objective-C. But after the released of iOS 9, Xcode 7, and Swift 2, I…

user2749248
- 676
- 1
- 7
- 15
6
votes
2 answers
How to push a JSQMessagesViewController correctly
I have a Swift project and am trying to use JSQMessagesViewController within it. I have used cocoapods to install the framework and am importing it using a swift import statement.
import JSQMessagesViewController
Up to this point there are no…

Tom
- 950
- 3
- 15
- 27
6
votes
3 answers
Change a timestamp logic in JSQMessagesViewController
Its possible change logic of collectionView: attributedTextForCellTopLabelAtIndexPath: delegate method for show date timestamp not by indexPath.item % 4 == 0? how like in SOMessaging day by day? or whatever?
this coding is for displaying…

PPShein
- 13,309
- 42
- 142
- 227