Questions tagged [jsqmessagesviewcontroller]

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

385 questions
2
votes
1 answer

How to load images asynchronously

Currently this is my implementation in a method in viewDidLoad dateParameter = self.lastMessageDate for chat in self.realm.objects(ChatObject).filter("room_id == \(self.room.id)").sorted("dateTime", ascending: true) { if…
Happiehappie
  • 1,084
  • 2
  • 13
  • 26
2
votes
0 answers

Is it possible to showing image in input text field before sending it?

I'm working on getting JSQMessagesViewController to send media messages that contain URLs that reference an image, which gets saved to a backend service. After I select an image from the camera roll, is there some way to display it in the input text…
larry
  • 21
  • 1
  • 3
2
votes
2 answers

JSQMessage show image in message

how can do to show the full image in bubblemessage. I show the image but it is cut: see image thank you
Paolo Gdf
  • 759
  • 3
  • 10
  • 15
2
votes
3 answers

JSQMessagesViewController with Navigation Bar

I am struggling to add a navigation bar to a JSQMessagesViewController. Is it possible to do this in interface builder or do I have to create the navigation bar programmatically? When attempting to do this with IB, the navigation bar is not visible…
2
votes
2 answers

Hide AvatarImage with JSQMessageViewController is causing white gaps

I am using JSQMessageViewControllers library to implement the chat view. However, I want to hide the avatar image in the chat. According to the following documentation.…
howly
  • 417
  • 1
  • 3
  • 12
2
votes
2 answers

JSQMessages text view only

I'm trying to make a comment view like instagram and would like to have a text with + containerView with the containerView increasing in size as my text view grwos, is it possible to just use JSQMessages with the text view only without the…
Happiehappie
  • 1,084
  • 2
  • 13
  • 26
2
votes
1 answer

How do I center a message bubble in JSQMessagesViewController

My goal is to have a "narration" message in JSQMessagesViewController. I want this message to be centered on the screen. I am trying to center the message by centering it's message bubble container (contains the bubble and the text). This is my…
hoffware
  • 205
  • 6
  • 19
2
votes
0 answers

JSQMessagesViewController stops calling cellForItemAtIndexPath after several messages

I have a bit of a weird issue with a messaging app that users JSQMessagesViewController. It all works fine but if I send a bunch of media messages in quick succession the UICollectionView stops calling cellForItemAtIndexPath so all the cells…
Martin
  • 1,135
  • 1
  • 8
  • 19
2
votes
3 answers

How to implement custom JSQMessagesInputToolbar

Is it possible to implement custom JSQMessagesInputToolbar for JSQMessagesViewController? I need to set custom UIToolbar, but inputToolbar property of class JSQMessagesViewController is readonly and initialized from .xib, so I have no idea how to…
MMiroslav
  • 1,672
  • 20
  • 32
2
votes
0 answers

Why JSQMessages prints unrecognized selector sent to instance error?

When I try this: class MessagesViewController: UIViewController { ... } it doesn't prints any error, but when I use this: class MessagesViewController: JSQMessagesViewController { ... } it prints, that: [JSQMessagesInputToolbar…
Orkhan Alizade
  • 7,379
  • 14
  • 40
  • 79
2
votes
1 answer

Getting "Incompatible pointer types sending 'UIImage *' to parameter of type 'CIImage * _Nonnull' with JSQMessagesViewController

JSQMessagesViewController Using Xcode 7.0 Beta 5, I'm getting a warning of an "Incompatible pointer types sending 'UIImage *' to parameter of type 'CIImage * _Nonnull' in the copyWithZone method of JSQPhotoMediaItem. Here's the method: -…
2
votes
4 answers

JSQMessagesViewController message bubbles are aligning irregular

I am developing an app using JSQMessagesViewController. But there is problem that message bubbles are aligning irregular order in collectionView. Here is a Screenshot Here is the code: import UIKit class mDetailContainerViewController:…
Faruk
  • 2,269
  • 31
  • 42
2
votes
2 answers

Retrieving image sent with JSQMessage

I am using JSQMessage to create a chat application in Swift, basically my problem is when the user tap the photo I want the photo that is in the chat I want the photo to pop in fullscreen I will add the steps of what I am trying to do it may be…
Icaro
  • 14,585
  • 6
  • 60
  • 75
2
votes
0 answers

NSLayoutConstrain error when using JSQMessagesViewController

Then view is showed below: And I scroll down and scroll up many times , there are errors coming. The code is mostly as same as the sample code in the demo. 2015-05-18 10:15:16.907 HiPDA V2[29096:948402] Unable to simultaneously satisfy…
leizh00701
  • 1,893
  • 5
  • 21
  • 32
2
votes
0 answers

Using JSQMessages framework with Core-data

This is just the Core-Data object for message: #import #import @class Account; @interface Message : NSManagedObject @property (nonatomic, retain) NSNumber * read; @property (nonatomic, retain)…