Questions tagged [jsqmessagesviewcontroller]

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

385 questions
1
vote
1 answer

JSQMessagesViewController add users image

how to add image sender and receiver users add add group date show this image
Ahmad Almasri
  • 47
  • 1
  • 3
1
vote
1 answer

'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: self.senderDisplayName != nil'

I have upgraded my app to Swift 3, and the latest version of JSQMessagesViewController. However, there is a new error appearing outlined as: 2016-11-02 23:02:29.066710 App[734:263241] *** Assertion failure in -[App.IndividualChatController…
Sauron
  • 6,399
  • 14
  • 71
  • 136
1
vote
1 answer

Text at top and bottom of bubble doesn't invert side when using Right To Left langage in JSQMessagesViewController

Im using the JSQMessagesViewController library for my chat application and I have an issue when I try to localize it: that is when my device is in Left To Right (LTR) language: but when I try with RTL I manage to invert the bubble by changing the…
jerem
  • 1,016
  • 2
  • 12
  • 27
1
vote
1 answer

JSQMessages keyboard not pushing up view

When I go to type a message into my JSQMessagesViewController, the view is not being pushed up when the keyboard appears. I can't send a message and I can't see the message I'm typing. I don't even see any code in my VC that would be causing this /…
user6820041
  • 1,213
  • 2
  • 13
  • 29
1
vote
2 answers

Navigation bar with JSQMessages?

I'm needing to have either a bar or some space up at the top of my JSQMessagesVC to allow users to get back out of it, but adding elements in the storyboard doesn't work because I guess the chatVC is overriding everything in the storyboard? It also…
1
vote
1 answer

Attribute different color to each user in Group chat in JSQMessagesViewController?

Im using JSQMessagesViewController for my chat App and I want to attribute to each user name a different color In my createAvatar function , Im assigning different color to my ColorForEachUser dictionnary : var avatars =…
jerem
  • 1,016
  • 2
  • 12
  • 27
1
vote
0 answers

Remove margin on MessageBubbleTopLabel in JSQMessageViewController

I have a slight problem with my sub-classed JSQMessagesViewController. I would like to remove the margin of the MessageBubbleTopLabel to the right for outgoing messages, and the left for incoming messages, so the text is aligned with the text within…
1
vote
0 answers

Text bubble only two characters wide - JSQmessagesviewcontroller

Text bubble only allow 2character then create a new line break for the next 2 characters. this will happen randomly. I did not make any adjustments to the bubble characters it just appears like that. Thank you in advance for the help import…
SwiftER
  • 1,235
  • 4
  • 17
  • 40
1
vote
2 answers

supplementary view remains briefly when viewcontroller is dismissed

I added a view to the top of my collection view, now when I dismiss the view remains for a split second. Does anyone have any idea to what might cause this? let newView = UIView() newView.backgroundColor = UIColor.redColor()…
1
vote
1 answer

Firebase & JSQMessagesViewController One to one chat in Ios Swift 2

So i'm trying to implement one to one chat system in the app that am building and have been having some trouble. This is what i have so far. Here is my code Please help me i would also really appreciate any examples. Thank you ` import UIKit import…
1
vote
1 answer

NSFetchResultController loading all messages at once, fetchbatchsize is not fixing it

I am at the stage of optimizing my core data code, I am making a messaging app, and I only want to load 50 messages at a time. However, looking at the timeprofile Data below, the fetchrequest loads all the messages at once. Afterwards, it loads all…
1
vote
1 answer

Argument labels do not match any available overloads

I am working on a messaging app using JSQMessagesViewController, and I want to associate another variable, an Integer score, with each message (along with the defaults such as senderID, text, and displayName). This is how I attempt to implement…
Ahad Sheriff
  • 1,829
  • 8
  • 24
  • 46
1
vote
2 answers

JSQMessageViewController customize send button

I'm building an messaging app, I use JSQMessageViewController to render messages and it's awesome. Now I have a little problem trying to customize the send button: Basically I want to replace left and right BarButtonItem to customized button with…
Ray
  • 272
  • 2
  • 13
1
vote
1 answer

JSQMessagesViewController set recipient firebase id

I have implemented firebase firechat by following raywenderlick at https://www.raywenderlich.com/122148/firebase-tutorial-real-time-chat but the issue is it is using Anonymous mode. My app have obtained 2 firebase uid and when User1 logging and send…
1
vote
1 answer

How to limit user text input and disable send button in JSQMessagesViewController

I am building a messaging app using JSQMessagesViewController and I was wondering if there would be a way for me to require a user's text input to be between 10 and 140 characters in length. I have put this following piece of code if…
Ahad Sheriff
  • 1,829
  • 8
  • 24
  • 46