Questions tagged [jsqmessagesviewcontroller]

JSQMessagesViewController is an elegant messages UI library for iOS (now deprecated).

385 questions
3
votes
1 answer

Show image preview of video sent in JSQMessagesViewController

I'm trying to show in bubble of video message (JSQVideoMediaItem) an image preview of the video sent by the user but my code only show a black preview. I'm sure the function generateThumbnail() can work perfectly when I use it in order to take the…
Ghiggz Pikkoro
  • 136
  • 1
  • 14
3
votes
2 answers

JSQMessages cannot override method Swift 3

For some reason I cannot override methods in Swift 3 using JSQMessages. These methods are defined in the JSQMessagesCollectionViewDataSource public func senderDisplayName() -> String! public func senderId() -> String! When I subclass…
user3440639
  • 185
  • 2
  • 12
3
votes
2 answers

JSQMessagesViewController - Send text Message with Attached Images File

I am using JSQMessagesViewController for sending and receiving messages.It works well for text Messages. Is it possible to send Text Message with attached Image File using JSQMessagesViewController Framework. The attached image file should be shown,…
ChenSmile
  • 3,401
  • 4
  • 39
  • 69
3
votes
2 answers

Issue with Duplicate Messages When navigating back to ViewController

I have a ViewController that shows the user more information, then they click on a button and it sends them to my messageView which is a JSQ ViewController. The JSQViewController uses the collection View classes. When the user navigates back to the…
Taylor Simpson
  • 940
  • 1
  • 10
  • 27
3
votes
1 answer

How to add a date Label in JSQMessagesViewController in Swift

I'm trying to add a date label to the JSQMessageViewController and im implementing the correct method, but nothing is showing up. Here is my code: override func collectionView(collectionView: JSQMessagesCollectionView!,…
3
votes
0 answers

JSQMessagesViewController scroll to bottom only if not at the bottom already

I am using JSQMessagesViewController with Swift. For the moment, I set automaticallyScrollsToMostRecentMessage = false so that each time I am receiving a new message, to view doesn't scroll to the bottom. What I would like is: to know when I am at…
papay0
  • 1,311
  • 1
  • 12
  • 25
3
votes
2 answers

How to adjust the bubble margin of the JSQMessagesCollectionViewCell

Here, I'm using tailed and tailless bubble image for the incoming and outgoing messages. The (code for the) cell for the outgoing and incoming are pretty much alike. But, as you can see in the image, the bubble for the tailless incoming message is…
yoninja
  • 1,952
  • 2
  • 31
  • 39
3
votes
0 answers

Audio message in JSQMessagesViewController

Recently i completed chat using JSQMessagesViewController and its working fine for Video, Image & Text. Now, I want to implement Audio message for existing JSQMessagesViewController. Is there anyone who implemented audio message for the same ? I…
Shrikant K
  • 1,988
  • 2
  • 23
  • 34
3
votes
2 answers

JSQmessageviewcontroller: Bubbles without tails

I am using the JSQmessageviewcontroller, but i want the bubbles to have no tail, just to be rounded rectangles, is this possible? I currently do something like: JSQMessagesBubbleImageFactory *bubbleFactory = [[JSQMessagesBubbleImageFactory alloc]…
Patrick Klitzke
  • 1,519
  • 2
  • 14
  • 24
3
votes
2 answers

How to display Image data in chat from url for JSQMessagecontroller for ios

i am developing chat application , in which i need to display text , images , video which i am getting from json. to display image data there is a method in JSQ framework: NSData *data = [NSData dataWithContentsOfURL:[NSURL…
sulabh
  • 249
  • 5
  • 22
3
votes
3 answers

How to add time label into the message bubble?

I'm using JSQMessageController in my app and now I want to add time label inside of my bubbles. I searched in my directories, but did not find image assets folder. But when I'm typing an image/asset name here: I'm trying this one: override func…
3
votes
4 answers

Open image from JSQMessagesViewController

I'm using JSQMesssagesViewController to build a messaging app. I can now send an image using this, but would like to tap the image to open in full screen. This functionality would be similar to the standard messaging application that allows you to…
Robert
  • 1,499
  • 2
  • 14
  • 22
3
votes
1 answer

How to take an action when message bubble tapped

I've been trying to figure out how to insert a handler to take action when a user taps on the message bubble. I've found the section in the readme about "customize your cells" and have tried a couple of different approaches, but so far no luck.…
3
votes
2 answers

Determine how many messages are shown on JSQMessagesViewController

I would expect a very easy way to know how many messages are currently shown with JSQMessagesViewController. Couldn't find any directly asking the controller. Is there?
Idan
  • 9,880
  • 10
  • 47
  • 76
3
votes
3 answers

JSQMessageViewController - How do I set a collection cell to be incoming or outgoing cell?

Using the JSQMessage podfile for iOS, in this method; collectionView:(JSQMessagesCollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath { .. } How do I set the it to use JSQMessagesCollectionViewCellIncoming or…
1 2
3
25 26