JSQMessagesViewController is an elegant messages UI library for iOS (now deprecated).
Questions tagged [jsqmessagesviewcontroller]
385 questions
1
vote
2 answers
Swift - JSQMessagesViewController with Swift
I'm developing a chat app, I'm having problem showing the Avatar to my JSQMessagesViewController
override func collectionView(collectionView: JSQMessagesCollectionView!, avatarImageDataForItemAtIndexPath indexPath: NSIndexPath!) ->…

LEVIS OGCPAS
- 229
- 4
- 11
1
vote
0 answers
JSQMessagesViewController - Getting Crash when setting date along with message
I am using JSQMessagesViewController for sending and receiving message from Server. Messages are displaying proper, But when trying to display date,which s coming along with all message, then getting crash on JSQMessagesTimestampFormatter Library…

ChenSmile
- 3,401
- 4
- 39
- 69
1
vote
2 answers
JSQMessagesViewController in a custom view
I'm trying to create a Chat system in my custom UIViewcontroller. I want to know if somebody have an idea to do that with JSQMessagesViewController. I want to add an JSQMessagesView in a view of my VC.

Julien Levallois
- 131
- 1
- 2
- 5
1
vote
1 answer
Add custom menu option to JSQMessagesViewControllerCell
I am building a chat app that uses JSQMessagesViewController. The default functionality includes the ability for a user to long press a chat bubble which then presents a copy menu option (see screenshot). I would like to add an additional custom…

chickenparm
- 1,570
- 1
- 16
- 36
1
vote
0 answers
[JSQMessagesCollectionViewFlowLayoutInvalidationContext invalidateFlowLayoutMessagesCache]: unrecognized selector sent to instance 0x7fc4b244de80'
I am using JSQMessagesViewController but am getting a crash when trying to start a chat. I suspect it has something to do with the ChatViewContoller. Does anyone know why?
// MARK: - UICollectionView flow layout
override func…

Alexyesiam
- 79
- 8
1
vote
1 answer
how to show message details using JSQMessagesViewController
In my messaging app my goal is to show timestamps when the message was delivered and read. In case of group messages for that a lot of space would be needed and it would not fit into cellBottomLabel. My idea is to display more details about a…

imrago
- 11
- 2
1
vote
1 answer
JSQMessagesViewController custom link
I'm using a swift framework and I need to be able to have a # like tag inside of a message text string. If a user sends a message containing a code prefixed with a #, for example: #t3Us9K that single "word" needs to be a link that all users can…

Jacolack
- 1,365
- 2
- 11
- 25
1
vote
1 answer
How to store and retrieve data in Swift from Firebase
I have a messaging app that I built, and I want to display the city in which a user is using my app from. The app works fine collecting and displaying the location data, however it only stores one instance of location data at a time. For example, if…

Ahad Sheriff
- 1,829
- 8
- 24
- 46
1
vote
1 answer
Changing JSQmessageVC Timestamp logic in swift
How can i change the timestamp logic to avoid repeating times as shown in the screenshot below?
Here is my code..
override func collectionView(collectionView: JSQMessagesCollectionView!, attributedTextForCellTopLabelAtIndexPath indexPath:…

Kayamba Mukanzu
- 63
- 1
- 9
1
vote
1 answer
Change color of send message bar (JSQMessagesViewController)
I am adding chat functionality to my app using JSQMessagesViewController. I am going with a dark theme and made the chat dark except for the send message bar. I have not been able to figure out how to change its color (See screenshot below). Can…

chickenparm
- 1,570
- 1
- 16
- 36
1
vote
1 answer
Date not show in JSQMessageViewcontroller Chat page
messageForRow = [[JSQMessage alloc] initWithSenderId:[[DataArray objectAtIndex:indexPath.row] objectForKey:@"UserId"] senderDisplayName:[[DataArray objectAtIndex:indexPath.row] objectForKey:@"Name"] date:[NSDate distantPast] text: [[DataArray…

ragu
- 133
- 2
- 10
1
vote
0 answers
refresh messages in jsqmessgeviewcontroller
i created a small iOS app with multiple Views. There is also a chat view on which I use jsqmessagesViewVontroller.
I have implemented push notifications to call a method which asks my server to get new messages.
The Method is within the…

Fox Mulder
- 57
- 1
- 7
1
vote
0 answers
How to use JSQDataSourcesKit with JSQMessagesViewController
I have been trying to build a chat app using JSQMessagesViewController with JSQDataSourcesKit to manage the data from Core Data. I have found several references to say that this is possible but I can't get it to work for me. I have the app building…

Martin
- 1,135
- 1
- 8
- 19
1
vote
0 answers
How do I prevent the inputToolbar from being hidden by the keyboard (JSQMessagesViewControlelr)?
When I tap the textfield to type my message in JSQMessagesViewController, the keyboard moves up and blocks the input textfield. How do I fix this? There is also this error which pops up if I type something after: …

Tob
- 985
- 1
- 10
- 26
1
vote
1 answer
Change frame of JSQMessagesViewController
How can I change the frame to JSQMessagesViewController to display in half screen
?
self.collectionView?.frame = CGRectMake(0, 0, 320, 250)
above is not changing frame.

Janak Thakkar
- 414
- 5
- 20